Splunk Enterprise Security

Normalize action field values

splunkcol
Builder

I have an index called firewall and sourcetypes of Palo Alto, Checkpoint and Fortinet routers

The configuration was carried out according to the documentation recommendations regarding recommended sourcertype and Add-on according to the vendor

The "action" type fields that are accepted have different names depending on the brand of the device

Those that are accepted are:

allowed
accept
Authorize
pass

Taking into account that "accept" and "allowed" mean the same thing, should I normalize them? or as they are already recognized by the correlation events that Splunk ES has created?

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Aliases create new fields with different names, but the same values so they won't help normalize values.  Use eval.

 

EVAL action=if(action="accept" OR action="Authorize" OR action="pass", "allowed", action)

 

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

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Splunk ES expects normalized field values as documented in the Common Information Model (CIM).  The TAs for those sources should have normalized the fields for you, but if they did not (or you don't use TAs) then you'll have to do so.

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

splunkcol
Builder

should I do it through aliases?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Aliases create new fields with different names, but the same values so they won't help normalize values.  Use eval.

 

EVAL action=if(action="accept" OR action="Authorize" OR action="pass", "allowed", action)

 

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

splunkcol
Builder

@richgalloway  Last question, what is the correct way to normalize it in this case?

0 Karma

richgalloway
SplunkTrust
SplunkTrust
Like with many things Splunk,there is more than one way to do it. The "correct" one is the one that works for you.
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...