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
Ultra Champion

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
Get Updates on the Splunk Community!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...