All Apps and Add-ons

VMware esxilogs sourcetype vmw-syslog hyphen problem

mikefg
Path Finder

I'm working on getting VMware logs into Splunk and ran into a problem with the hyphen in the vmw-syslog sourcetype in Splunk_TA_esxilogs. When I remove the hyphen or just use syslog as the sourcetype it works fine. I'm not a regex expert, so I'm assuming the regex in transforms.conf for [set_syslog_sourcetype] isn't quite right or maybe [set_syslog_sourcetype_sections], but I'm not sure how to adjust it.

0 Karma
1 Solution

mikefg
Path Finder

Looking at internal logs using ' index=_internal "vmw" ' I saw that there was a file that couldn't be found. The file is specified in props.conf at DATETIME_CONFIG = /etc/apps/Splunk_TA_esxilogs/default/syslog_datetime.xml which references the 'apps' directory. I'm using indexer clustering, so the app is installed at 'slave-apps' not 'apps'. I created a local/props.conf on my cluster master and changed the path to DATETIME_CONFIG = /etc/slave-apps/Splunk_TA_esxilogs/default/syslog_datetime.xml and now it's working.

View solution in original post

gordo32
Communicator

@mikefg Thanks for this. Don't know why this isn't in the installation portion of the documentation instead of finding it in the Troubleshooting section.

Splunk Gods should fix that (or use a relative path in props.conf instead so no manual changes needed).

0 Karma

mikefg
Path Finder

Looking at internal logs using ' index=_internal "vmw" ' I saw that there was a file that couldn't be found. The file is specified in props.conf at DATETIME_CONFIG = /etc/apps/Splunk_TA_esxilogs/default/syslog_datetime.xml which references the 'apps' directory. I'm using indexer clustering, so the app is installed at 'slave-apps' not 'apps'. I created a local/props.conf on my cluster master and changed the path to DATETIME_CONFIG = /etc/slave-apps/Splunk_TA_esxilogs/default/syslog_datetime.xml and now it's working.

View solution in original post

Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!