Getting Data In

steps to get the scripted input of curl http request

vallurupalli
New Member

what is the best way to get the data in using curl http://myhost/mylog.log

Tags (1)
0 Karma

MHibbin
Influencer

Assuming you are using Unix-like system here.

Write a Bash script that will collect information from that URL using curl. Test it prints the output to STDOUT when you run the script.

Once testing of script is complete, set-up a scripted input in Splunk...

http://docs.splunk.com/Documentation/Splunk/5.0/AdvancedDev/ScriptSetup

0 Karma
Get Updates on the Splunk Community!

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...

Splunk and TLS: It doesn't have to be too hard

Overview Creating a TLS cert for Splunk usage is pretty much standard openssl.  To make life better, use an ...

Faster Insights with AI, Streamlined Cloud-Native Operations, and More New Lantern ...

Splunk Lantern is a Splunk customer success center that provides practical guidance from Splunk experts on key ...