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

Is passAuth still supported for scripted Inputs?

$
0
0
Anyone know if `passAuth = user` scripted input option is still supported in more recent version of Splunk? This is still listed in the official [inputs.conf](https://docs.splunk.com/Documentation/Splunk/8.0.0/Admin/Inputsconf) docs, and most of the blog posts or discussions about it are from many version ago (Splunk 6.x time frame). Was this dropped but not taken out of the docs? _inputs.conf_: [script://./bin/myscript.sh] interval = 60 passAuth = splunk-system-user _myscript.sh_: #!/bin/bash echo "About to read token" read -r tok echo "DEBUG: $tok" # Or make whatever REST call via CURL, like so: curl -k -H "Authorization: Splunk $tok" https://localhost:8089/servicesNS/-/-/data/inputs/script ...

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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