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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...