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!

Unlock New Opportunities with Splunk Education: Explore Our Latest Courses!

At Splunk Education, we’re dedicated to providing top-tier learning experiences that cater to every skill ...

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...