I have implemented a python script and it is working fine from command prompt and giving output as "200,0.548236". But when I am running my search from splunk dashboard its not showing any results.
Search command: source="Catalog_Ext-Akamai" earliest=-5m|stats last(StatusCode) as value | rangemap field=value low=200-200 default=severer|script catalog rel02
My commands.conf file and inputs.conf file here:
commands.conf file:
[catalog]
filename = test.py
type = python
inputs.conf file:
[script://$SPLUNK_HOME/etc/apps/search/bin/Catalog_Ext-Akamai.sh] #here we are not passing any args as script running from commands.conf
disabled = 0
index = kohls_synthetic
interval = 300.0
sourcetype = synthetic
source = Catalog_Ext-Akamai
host =
Can someone help me on this.
Thanks.