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!

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...