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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...