How to use CURL command as Logstash input


#1

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.......


(Magnus Bäck) #2

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.


(system) #3

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