The host shows the hostname of my Syslog server instead of the real hostname from the ASA.
When I try keephostname(yes) in syslog0ng nothing changes...
I try the hostsegment=4 No difference.
Any help would be appreciated.
Inputs.conf in /opt/spl.../etc/system/local.conf
host = XXXXXSYSLOG
index = barracuda
sourcetype = cisco:asa
index = asa
**host_segment = 4**
the hostname you usually have is configured in the input.
If you use the UI, in the second page, you can choose the way to identify host:
So, if you want a different value, you can configure it here.
If instead you want to read the hostname in logs, you have to configure your Indexers (or Heavy Forwarders if present) to override host value using a regex: to do this see https://docs.splunk.com/Documentation/Splunk/7.3.0/Data/Overridedefaulthostassignments
View solution in original post
Thank for your quick answer... after reading the docuement.
Yes i need to read the host in the logs after checking the links that you send me everything looks fine now
create/modify transforms.conf and props.conf the make it work.
Thanks a lot...
if you're satisfied by this answer, please accept and/or upvote it.