Splunk Search

Unable to compare two numerical fields

JustAnotherStud
Engager

i have two fields that are numerical fields.  when I try a search that says:

 

index="test" AND field1 > field2

 

i get no results when I know that shouldn't be the case.  Any help would be greatly appreciated.

thanks

-JustAnotherStudent

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
index="test" | where field1 > field2

View solution in original post

JustAnotherStud
Engager

Thank you for the assistance 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
index="test" | where field1 > field2
Get Updates on the Splunk Community!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...