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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...