Splunk Search

How to extract the field "alert" with the field name action?

balu1211
Path Finder

Hi,

how to extract the field "alert" with the field name action.

help with the regex..

Thanks.

Labels (2)
0 Karma

yuanliu
SplunkTrust
SplunkTrust

@balu1211Have you tried my answer above? It creates key-value pairs, then extract them.

0 Karma

balu1211
Path Finder

@yuanliu

We have to create a new field name it's not the existing field.

Thanks..

0 Karma

balu1211
Path Finder

@ITWhisperer

@yuanliu

Could you please figure out the outputs of the above usecases.

Thanks

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| rex "\"tag\":\"AKAMAI\/WAF\/(?<akamai_waf>[^\"]+)\""
0 Karma
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...