Splunk Search

Does anyone have an explanation for the differences in count with and without eval expression

gesa_behrens
Path Finder

Hello,

on searching for discrepancies in my dashboard I was able to cut down the problem to the following to searches. Maybe there is an explanation for it. The difference is in the count of TLSv1.2.
search with eval

search without eval

0 Karma
1 Solution

DavidHourani
Super Champion

Hi @gesa_behrens,

This is happening because a single transaction contains sometimes more than one ssl_protocol field values which means that if the condition matches on "-" everything gets replaced by the "HTTP" string.

You might want to run your eval before building the transaction then you'll be good on the count.

Cheers,
David

View solution in original post

0 Karma

DavidHourani
Super Champion

Hi @gesa_behrens,

This is happening because a single transaction contains sometimes more than one ssl_protocol field values which means that if the condition matches on "-" everything gets replaced by the "HTTP" string.

You might want to run your eval before building the transaction then you'll be good on the count.

Cheers,
David

0 Karma

gesa_behrens
Path Finder

wow, that was quick, and now that you mention it, this is absolutely clear to me, should have seen it my self.
Thanks so much!

0 Karma

DavidHourani
Super Champion

hahah most welcome 😉

0 Karma
Get Updates on the Splunk Community!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...