Load JSON files to Elasticsearch Index

Hi Team,

Could you please share me how we can ingest json files to a Elasticsearch Index.

Thanks,
Debasis

You can build a shell script which reads every file and add the content to a bulk request and then send the bulk request to Elasticsearch.

FSCrawler also supports json files. See Local FS settings — FSCrawler 2.10-SNAPSHOT documentation

And you can do that with Logstash and filebeat.

@dadoonet As I am bit familiar with filebeat. Could you please help me how we can achieve through filebeat.

Thanks,
Debasis

Have a look at this: filestream input | Filebeat Reference [8.14] | Elastic

This might work. But I never used it myself.