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!

Cultivate Your Career Growth with Fresh Splunk Training

Growth doesn’t just happen—it’s nurtured. Like tending a garden, developing your Splunk skills takes the right ...

Introducing a Smarter Way to Discover Apps on Splunkbase

We’re excited to announce the launch of a foundational enhancement to Splunkbase: App Tiering.  Because we’ve ...

How to Send Splunk Observability Alerts to Webex teams in Minutes

As a Developer Evangelist at Splunk, my team and I are constantly tinkering with technology to explore its ...