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

Pulling out hostname from UNC path in windows

$
0
0
i have several SQL servers with logs in different places so i've got a share UNC location so i can deploy inputs.conf with the same config. \\SERVERNAME\Log\appserver_log.txt my inputs.conf looks like this - the log file is processed - but i can't seem to extract the servername - i've tried host_segment but no [monitor://\\*\Log\*] disabled = false whitelist = appserver_log.txt index = test

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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