Send batch file output to Elasticsearch

Hello Everyone,

I am having one batch file, when I run batch file in command prompt it prints some output
I want to ingest this output in Elasticsearch instance.

kindly provide me help on this case!!

You will need to pipe that output to somewhere - a file, or even Filebeat's stdin. Then send it to Elasticsearch.

Thanks @warkolm.

There is no way to directly send the output of the batch file to ES instance.
Can we do this using logstash exec input plugin?

Yeah, that'd work.

Hi @warkolm can you please provide the syntax to use this,

Great Thanks!!

You'd need to refer to the documentation for that sorry, I don't know it.