How to use CURL command as Logstash input

CURL command is my input and Elastic search is my output plugin in logstash configuration file.

How can give CURL as input plugin.

I tried http input plugin, its not worked for me.
Please suggest me which plugin i can use input as CURL command in logstsh and give me some example configuration.

Bellow is my CURL command.

curl -u user:password http://example.org/

Thanks in Advance.......

I tried http input plugin, its not worked for me.

What's the problem?

Please suggest me which plugin i can use input as CURL command in logstsh and give me some example configuration.

Have a look at the exec input plugin.

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