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!

2024 Splunk Career Impact Survey | Earn a $20 gift card for participating!

Hear ye, hear ye! The time has come again for Splunk's annual Career Impact Survey!  We need your help by ...

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...