Splunk Search

Field Creation ?

rakesh_498115
Motivator

Hi.

I have created a rex for my field say . MSGID . can this be saved in splunk using Fields Manager.

my rex is

rex Field=MSGID "^(?...)"

can this UNIQUEID saved to my sourcetype as Field .??

Tags (1)
0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

There are a few ways to save this.

You can add it to your props.conf

[your_sourcetype]
EXTRACT-uniq = ^(?<uniqueid>...)

REF: http://docs.splunk.com/Documentation/Splunk/5.0/Knowledge/Createandmaintainsearch-timefieldextractio...

You can use the UI to add it. See the documentation here for information.
http://docs.splunk.com/Documentation/Splunk/5.0/Knowledge/Managesearch-timefieldextractions

Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...