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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...