Splunk Search

Why is my index time extraction not working

tkwaller_3
New Member

On my Intermediates or Heavy Forwarders and Search Heads I have:
props.conf
[role_extract]
TRANSFORMS-roleextract = extract_role

transforms.conf
[extract_role]
REGEX=\D{3}\D\d{1,4}(...)\d{1,5}
FORMAT = role::$1
SOURCE_KEY = host
WRITE_META = true

fields.conf
[role]
INDEXED = true

I dont get the extracted values thought when I search for this field.
Im probably doing something incorrectly.
Thanks for the help

0 Karma

sudosplunk
Motivator

Hi there, can you provide sample data to see if regex match is working.

Get Updates on the Splunk Community!

Tips & Tricks When Using Ingest Actions

Tune in to learn about:Large scale architecture when using Ingest ActionsRegEx performance considerations ...

Announcing Our Splunk MVPs

We are excited to announce the first cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Dashboard Studio Challenge - Learn New Tricks, Showcase Your Skills, and Win Prizes!

Reimagine what you can do with your dashboards. Dashboard Studio is Splunk’s newest dashboard builder to ...