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

Accessing bash variables via a universal forwarder scripted input

$
0
0
When using a shell script on my splunk server I am able to access variables with no problem ie #!/bin/bash java -jar custom.jar -val $(date +%Y%m%d_%H%M) However, when using the same script with the Universal Forwarder as a .path file the it does not execute. Any suggestions on how to achieve this as a scripted input with the UF?

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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