I need some help


(diawara) #1

I would like put json data in ElasticSearch
here is my code:
URL:http://localhost:9200/donnees/srv_port/_bulk

Content ton Send
File: C:\Users\18330\Downloads\DonneesJson\srv_port.json
it shows me:

{"error":"ActionRequestValidationException[Validation Failed: 1: no
requests added;]","status":400}
Please, what shoud i do?

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/fa38e271-44dc-4822-8239-e4bff14967af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(David Pilato) #2

It sounds incorrect.
Have a look at bulk documentation. You are probably missing something.

Note that it’s hard to answer without a complete recreation script.

Look at https://www.elastic.co/help https://www.elastic.co/help

--
David Pilato - Developer | Evangelist
elastic.co
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr https://twitter.com/elasticsearchfr | @scrutmydocs https://twitter.com/scrutmydocs

Le 29 avr. 2015 à 16:22, mariam diawara niatoune@gmail.com a écrit :

I would like put json data in ElasticSearch
here is my code:
URL:http://localhost:9200/donnees/srv_port/_bulk

Content ton Send
File: C:\Users\18330\Downloads\DonneesJson\srv_port.json
it shows me:

{"error":"ActionRequestValidationException[Validation Failed: 1: no requests added;]","status":400}
Please, what shoud i do?

--
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+unsubscribe@googlegroups.com mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/fa38e271-44dc-4822-8239-e4bff14967af%40googlegroups.com https://groups.google.com/d/msgid/elasticsearch/fa38e271-44dc-4822-8239-e4bff14967af%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/B9ED2C49-6F28-4611-B397-AEC5B75F64CD%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.


(system) #3