Alerting

Field extraction from alerts

DawidM
Explorer

Hi. I have a task to extract all fields from raw logs used by our alerts and I wonder if there is an automated way to do it, or I have to go manually through each alert to check what fields are used? All help is really appreciated

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

It depends.  What tool is producing the alerts?  In what format are they?

Splunk will automatically extract fields in key=value format.  Other formats are supported if the correct sourcetype is specified, but we need more information.  Can you share some sample alerts (sanitized, of course)?

---
If this reply helps you, Karma would be appreciated.
0 Karma

DawidM
Explorer

We have logs from firewalls and web applications. What I need is to extract field names that are used by our alerts (queries) to compare the, with the fields used by a different team and tools.

0 Karma

richgalloway
SplunkTrust
SplunkTrust
Check splunkbase (https://apps.splunk.com) for add-ons that will help you ingest the data from your firewalls and applications. Changes are they comply with the Common Information Model so the field names are well-known.
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...