# Elasticsearch

**URL:** <https://discuss.elastic.co/t/elasticsearch/22813>\
**Category:** Elasticsearch\
**Created:** [March 23, 2015, 9:18am UTC](https://discuss.elastic.co/t/elasticsearch/22813 "2015-03-23T09:18:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharath\_chandra](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@sharath\_chandra](https://discuss.elastic.co/u/sharath_chandra)\
**Post date:** [March 23, 2015, 9:18am UTC](https://discuss.elastic.co/t/elasticsearch/22813/1 "2015-03-23T09:18:20Z")

</div>

Hi,

I am new to elastic search. I am using sense plugin. While i am trying to  
retrieve data from JSON file using command

POST/bank/accounts/\_bulk?pretty @accounts.json

and the output in sense console is giving like:

Request failed to get to the server (status code: 0):

I want to know which command should I type in Sense to retrieve data from  
JSON file.

here i am also attaching snapshot

--  
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/3ba20ce4-f5db-4a26-a3f1-45708f1c2947%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3ba20ce4-f5db-4a26-a3f1-45708f1c2947%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 23, 2015, 10:23am UTC](https://discuss.elastic.co/t/elasticsearch/22813/2 "2015-03-23T10:23:29Z")

</div>

SENSE can not load a file AFAIK.  
Use curl or copy the file content in SENSE

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 23 mars 2015 à 10:18, sharath chandra [sharathtelakapally@gmail.com](mailto:sharathtelakapally@gmail.com) a écrit :
> 
> Hi,
> 
> I am new to Elasticsearch. I am using sense plugin. While i am trying to retrieve data from JSON file using command
> 
> POST/bank/accounts/\_bulk?pretty @accounts.json  
> and the output in sense console is giving like:
> 
> Request failed to get to the server (status code: 0):  
> I want to know which command should I type in Sense to retrieve data from JSON file.
> 
> here i am also attaching snapshot
> 
> --  
> 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/3ba20ce4-f5db-4a26-a3f1-45708f1c2947%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3ba20ce4-f5db-4a26-a3f1-45708f1c2947%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).  
> \<myprogramme.bmp\>

--  
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/78B4A680-E79A-4AE2-B8F9-EE08B3DE9FB1%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/78B4A680-E79A-4AE2-B8F9-EE08B3DE9FB1%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:24am UTC](https://discuss.elastic.co/t/elasticsearch/22813/3 "2017-07-06T00:24:57Z")

</div>


