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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...