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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...