Quantcast
Channel: Questions in topic: "universal-forwarder"
Viewing all articles
Browse latest Browse all 1551

Can I run the btool command on a universal forwarder without running shell or powershell script?

$
0
0
I would like to run a scheduled Splunk btool command using scripted input to index configs every few hours. I cannot put this command in .sh or any script file and give it as input to scripted input in Splunk due to limitation of running scripts on our Windows universal forwarders. So, I have put path file under bin dir of app, and pointed the .path file in scripted input like [Script//./bin/file.path] And The path file contains the below command: /opt/splunk/bin/splunk cmd btool inputs list —debug But it is not running the Splunk btool cmd when pointed from the .path file. It's not indexing data. The path file can only point and run external scripts in .sh or .exe formats. Is there any possibility to run the btool command on UFs without using .exe scripts on Windows in scheduled based by Splunk inputs? My requirement is to index config data every day

Viewing all articles
Browse latest Browse all 1551

Trending Articles



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