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!

Fun with Regular Expression - multiples of nine

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

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...