Splunk Search

regex help

Path Finder

I have the following regex which I am using search time extraction..this returns the field I want but I need to tweak it to show/select the filed only If its a "alphabet" i.e It shld omit /Not match number field

(?i)^(?:[^]]*]){5}\s+(?P[^ ]+)

ex :

As a part of the search extraction ..right now I am getting


I need it to match /return only "ABC" not 222

Thanks for any Help!

Tags (1)
0 Karma


Path Finder

Actually tried that (After reading http://forums.asp.net/t/1285485.aspx/1 )but some how Its giving only the numbers ..i.e what I want to eliminate which did not make sense as Its supposed to return only alphabets ... I tried negation "!" too i.e something like [^!A-Za-z] but it did not give me what I want .

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...