Can anyone tell my why I am see duplicate host values (1 uppercase and 1 lowercase) in my interesting fields and how to fix it. I have checked inputs.conf and server.conf, they both show the uppercase version. I am not sure where this second host name is originating from.
If the sourcetype is
syslog-host transform will set the hostname based on the value in the event itself.
For the events that have the unexpected host value, what is the sourcetype, and can you paste the
_raw values for them as well?
Yes, the sourcetype is syslog. How would I correct it? A change to the syslog-host transform or a conf file on the host itself? Thanks!
yes, you can override in transforms.conf with the values you want or you can use a regex to extract from the event.
REGEX = (.+)
DESTKEY = MetaData:Host
FORMAT = host:myhost