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!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...