ElasticSearch Marvel - how to load sample data from .json file

I am practising elasticsearch(ES) and using Marvel plugin to run my queries.

I see the query in ES documentation to load data from a .json file but,

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/_exploring_your_data.html

curl -XPOST 'localhost:9200/bank/account/_bulk?pretty' --data-binary @accounts.json

this is the command for linux users. But how to run same command from Marvel

I copied the accounts.json file to elasticsearh/bin folder and I tried
multiple ways

POST /bank/account/_bulk?pretty accounts.json

but it giving error. Need your help.

--
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/656fd77c-913f-40a7-a21f-fdad7096bd87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

The bulk end point uses a different - flattened - JSON layout. So, you
cannot just use that example directly.

But it's also not clear exactly what you are trying to do? If you look
at the Guide (not just reference), it gives complete Mavel/Sense
examples including once that load into your local Sense UI. That
should make it clear what you need to do.

Regards,
Alex.
Personal: http://www.outerthoughts.com/ and @arafalov
Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
Solr popularizers community: Sign Up | LinkedIn

On 14 October 2014 07:45, Ravi Kumar Maddi ravi.maddi@gmail.com wrote:

I am practising elasticsearch(ES) and using Marvel plugin to run my queries.

I see the query in ES documentation to load data from a .json file but,

Elasticsearch Platform — Find real-time answers at scale | Elastic

curl -XPOST 'localhost:9200/bank/account/_bulk?pretty' --data-binary
@accounts.json

this is the command for linux users. But how to run same command from Marvel

I copied the accounts.json file to elasticsearh/bin folder and I tried
multiple ways

POST /bank/account/_bulk?pretty accounts.json

but it giving error. Need your help.

--
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/656fd77c-913f-40a7-a21f-fdad7096bd87%40googlegroups.com.
For more options, visit 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/CAEFAe-FAan_b6GXoqCHAMnkYZ0ynkeAfSasnvo_JO9c5sOuUVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.