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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

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

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...