Splunk Search

The files props.conf and transform.conf don't work

rafamss
Contributor

Hi guys,

I did the following configuration in props.conf in the splunk:

C:\Program Files\Splunk\etc\system\local

[sctmainframe]
NO_BINARY_CHECK = 1
SHOULD_LINEMERGE = false
pulldown_type = 1
REPORT-myname = mainframe-extract

And in the transforms.conf file too

[mainframe-extract]
EXTRACT = (?<INSTCLI>\d{3})(?<BANCOCLI>\d{3})(?<AGENCLI>\d{4})

The sourcetype "sctmainframe" appear for me as a new sourcetype into the administrator splunk web, but don't work correctly.

What I'm doing of the wrong ?

0 Karma
1 Solution

jacobwilkins
Communicator

In your transforms.conf you need REGEX, not EXTRACT:

[mainframe-extract]
REGEX = (?<INSTCLI>\d{3})(?<BANCOCLI>\d{3})(?<AGENCLI>\d{4})

View solution in original post

jacobwilkins
Communicator

In your transforms.conf you need REGEX, not EXTRACT:

[mainframe-extract]
REGEX = (?<INSTCLI>\d{3})(?<BANCOCLI>\d{3})(?<AGENCLI>\d{4})

kristian_kolb
Ultra Champion

Good Spotting! Missed that one.

0 Karma

rafamss
Contributor

Thanks jacobwilkins, worked fine.

0 Karma

kristian_kolb
Ultra Champion

In addition to your configs, you should perhaps post a few sample events, the results you get, and an idea of the results you want to achieve. Otherwise it will be very hard for anybody to try to help you.

/k

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...