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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...