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!

Splunk Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...