I am looking at the feature host_segment=x in inputs.conf. And wondering if there is a similar feature for source type?
For example, I have a directory of logs on the network for a series of servers that look like this
I'd like to just set this, but that doesn't seem to work. Any trick to this? Or work around?
No, this doesnt exists. You could set a sourcetype based on the source of the file in transforms.conf, upstream at indextime or HF layer.