Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Custom Command in Splunk

$
0
0
I have created a python script and it is taking an argument . I have declared it ,like this` hash = Option( doc=''' **Syntax:** **ioc=**** **Description:** Name of the field which contains the hash''', require=True, validate=validators.Fieldname())` No when I call the command "|command hash="1223333" from search, it is throwing "A value for *** command option hash is required". How to resolve the error?

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>