Hi ,
I am trying to import .json file to elasticsearch through logstash but not able to see the data.Also it getting processed through logstash once only ,it is not performing activities.
PFA snapshot.
Please find below the logstash.conf details:-
input {
file {
path => "D:\ELASTICSEARCH\accounts.json"
start_position => "beginning"
}
}
output {
elasticsearch {
cluster => "localhost:9200"
index => "cld-logstash=%{+YYYY.MM.DD}"
protocol =>http
}
}
Please suggest.
Regards,
Prateek.