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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...