Import CSV file

2014-02-11 Thread Bert Cauwelier
Hello, i am new to elasticsearch and i am trying to import a csv file. can anyoone help? an example csv file : name comment me hello json file { type : csv, csv_file : { folder : ~/test, filename_mask : .*\\.csv$, poll:5m, fields : [

Re: Import CSV file

2014-02-11 Thread Bert Cauwelier
Is the @ important? when i use the command you send i get: # curl -XPOST http://localhost:9200/_river/my_csv_river/_meta --data-binary @insertrivercsv.json Warning: Couldn't read data from file insertrivercsv.json, this makes an Warning: empty POST. {error:MapperParsingException[failed to

Re: Import CSV file

2014-02-11 Thread joergpra...@gmail.com
Read the curl man page for sending a file with @ Jörg -- You received this message because you are subscribed to the Google Groups elasticsearch group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this