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

How to Read a dynamic host name from file and apply it to inputs.conf?

$
0
0
Is there a way to dynamically set the host name to read from a file? For example, instead of using the [default] host =xxxxx from inputs.conf, I'd like to get it from a config file: /some/directory/foo.conf that contains a host of: ID = foo001 I've seen resources of setting host name based on regex of filenames but that's not exactly what i need. I need to read the host name from within the file.I'm thinking of possible alternatives but if this is already existing it would help a lot. Thanks.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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