SC4S strips domain name, causes issues with interfaces reporting, can we use FQDN? #2174
Replies: 2 comments 1 reply
-
If you can share the device name and sample raw message including PRI we can check and help, the pcap is best way to see whats going on, also create a github issue for tracking purposes. |
Beta Was this translation helpful? Give feedback.
1 reply
-
It looks like the issue is within package/etc/pylib/parser_fix_dns.py - Is there a way to override this behavior to use the FQDN? `class FixHostResolver(LogParser):
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are migrating our syslog server to Splunk Connect 4 Syslog running on a RHEL server inside a Docker container. The syslog messages are being forwarded to Splunk, however, SC4S is stripping the domain name off of the device names, causing issues with interfaces that are sending log messages.
For example, the host - "hostname.contoso.com", will have the host= hostname, while the hostname
"lo0.hostname.contoso.com.", will have the host = lo0.
It appears SC4S is doing some sort of split on the first period (.) in the hostname and only keeping the first item in the array.
Is it possible to tell SC4S to use the FQDN as the hostname?
We are using reverse DNS on the SC4S instance - ie. SC4S_USE_REVERSE_DNS=yes
Any help is much appreciated!!
Beta Was this translation helpful? Give feedback.
All reactions