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!

Explore the Latest Educational Offerings from Splunk [January 2025 Updates]

At Splunk Education, we are committed to providing a robust learning experience for all users, regardless of ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...