Splunk Enterprise Security

match field value with multi-field value

N92
Path Finder

I have result in one field from the lookup and also result in second field(multivalue results) from lookup.

Accessed group = 1
Allowed group=1
=2

So if any value match with allowed group then it should not trigger.

0 Karma

gaurav_maniar
Builder

Append this to your query,

...| eval allowed = if(like(allowed_group, “%”.accessed_group.”%”), “yes”, “no”)

It will check, if values of accessed_group is present in allowed_group or not.

Accept the answer if it helps.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

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