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!

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 ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...