Splunk Search

How do I create a field extraction that match/pick only the event which contains "ccexpire"?

Borntowin
Loves-to-Learn Everything

I would like to match/pick only the event which contains "ccexpire".

sample event :-

09/Dec/2021 23:52:39,Query,"SELECT ccexpire FROM creditcard WHERE userid = 624",7

 

There are many events which has ccexpire would like to extract the events which has ccexpire.

Labels (1)
0 Karma

Borntowin
Loves-to-Learn Everything

Thank you.. But how do i  pick those events and map it to some field as i need to get the count.

0 Karma

SanjayReddy
SplunkTrust
SplunkTrust

Hi @Borntowin 

you can try using
| stats count 

0 Karma

SanjayReddy
SplunkTrust
SplunkTrust

Hi @Borntowin 

one way you can do it search for keyword ccexpire , to filter out events 

<your query>  | search  "*ccexpire *"

0 Karma
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...