Getting Data In

How to run and Display output of a perl script in splunk ?

kamal_jagga
Contributor

Hi,

I have a complex perl script which provides the distribution of response time and success/failure for our endpoints.
Now we want to accomplish this using Splunk and display its output in a dynamic way.

According to me their are two options:
1. Writing Splunk query to replace perl script. Which is very difficult and not replicable method.
2. Running the script from splunk and displaying its output on screen. Now i know that we need to create custom commands for this. But i don't have any idea about that. Wasn't able to find any material also for that.

Kindly advise.

Tags (2)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Are you trying to run the script in a search ad-hoc or trying to schedule its execution and index the results?

Here are the docs entry points for either:

http://docs.splunk.com/Documentation/Splunk/6.2.2/Search/Aboutcustomsearchcommands
http://docs.splunk.com/Documentation/Splunk/6.2.2/Data/Setupcustominputs

Get Updates on the Splunk Community!

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

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