# Loading data into elasticsearch

**URL:** <https://discuss.elastic.co/t/loading-data-into-elasticsearch/93889>\
**Category:** Elasticsearch\
**Created:** [July 20, 2017, 8:37am UTC](https://discuss.elastic.co/t/loading-data-into-elasticsearch/93889 "2017-07-20T08:37:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marwa](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@marwa](https://discuss.elastic.co/u/marwa)\
**Post date:** [July 20, 2017, 8:37am UTC](https://discuss.elastic.co/t/loading-data-into-elasticsearch/93889/1 "2017-07-20T08:37:28Z")

</div>

hi i am trying to load data into elasticsearch , i first went to /elasticsearch-5.5.0/data ,i downloaded a json format of data sets from oficial documentation of elasticsearch , then i went to kibana i did define the mapping then i used the command  
curl -s -XPOST '[http://197.12.8.3:9200/\_bulk](http://197.12.8.3:9200/_bulk)' --data-binary @log.json

then defined the index pattern in kibana then when i go to discover i find no result

---

<div class="post-metadata">

**Author:** ![kkotari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kkotari/32/20272_2.png) [@kkotari](https://discuss.elastic.co/u/kkotari)\
**Post date:** [July 20, 2017, 10:24am UTC](https://discuss.elastic.co/t/loading-data-into-elasticsearch/93889/2 "2017-07-20T10:24:40Z")

</div>

did you check the acknowledgement, did you got success.

if you got success then  
go to management -\> index Patterns -\> add your index.

That will show the data in discover.

---

<div class="post-metadata">

**Author:** ![marwa](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@marwa](https://discuss.elastic.co/u/marwa)\
**Post date:** [July 20, 2017, 10:33am UTC](https://discuss.elastic.co/t/loading-data-into-elasticsearch/93889/3 "2017-07-20T10:33:44Z")

</div>

i tryed it but in vain .in fact when i use a configuration file i found the message send in kibana with the command  
sudo bin/logstash -f /opt/logstash-5.5.0/config/first\_pipeline.conf

but with this command it doesn't work :slight\_smile

sudo bin/logstash -e 'input { stdin { } } output { stdout {} }'  
the pipeline started but i don't find any sored message in kibana  
evn more the error still appear

---

<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:** [August 17, 2017, 10:33am UTC](https://discuss.elastic.co/t/loading-data-into-elasticsearch/93889/4 "2017-08-17T10:33:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
