Getting Data In

Transform field extraction work from default but not from local

jeremyhagand61
Communicator

I'm using the Splunk TA for Symantec Endpoint Protection 2.3.0 and for the latest version of SEP some of the log file formats have changed and so the field extractions aren't working. I've taken the REGEX from the default\transforms.conf file and modified it and tested it using rex and all is works.

On the search head I copied the transforms.conf file from default to local (inside the app) however the field extractions don't work. So I tried putting the updated extraction directly into the default\transforms.conf file and they now work.

In both of the above cases running
.\splunk.exe cmd btool --app=Splunk_TA_symantec-ep transforms list

Displayed the updated REGEX

Can anyone shed some light on why this might be the case?

Do I need to update the local.meta file? If so, what should I put in there?

0 Karma

sonny_monti
Path Finder

Check your escape characters, some working using the rex command does not work in conf files. for example backslashes.
Check this post

0 Karma

jeremyhagand61
Communicator

Rex works in one transform.conf file, but not in another. Nothing wrong with the rex.

0 Karma

harsmarvania57
SplunkTrust
SplunkTrust

Hi,

After changing/adding configuration in <app>/local/transforms.conf have you restarted Splunk or used /debug/refresh endpoint to reload configuration ?

0 Karma

jeremyhagand61
Communicator

See from my OP that when I put them in default\transforms it works. So yes I have.

0 Karma
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!