All Apps and Add-ons

VMware esxilogs sourcetype vmw-syslog hyphen problem

mikefg
Communicator

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
Communicator

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
Communicator

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.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...