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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...