Loading data into elasticsearch


(marwa) #1

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' --data-binary @log.json

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


(Kiran Kotari) #2

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.


(marwa) #3

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


(system) #4

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