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

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!

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...

Splunk Answers Content Calendar, June Edition II

Get ready to dive into Splunk Dashboard panels this week! We'll be tackling common questions around ...

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...