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!

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...