Splunk Search

How to generate a regex to find text and values greater than or equal to 2000001?

New Member

Hi ,
I have in my log like

I need to get all value which is greater than and equal to 2000001. Please help me to find in splunk search..

0 Karma

Esteemed Legend

Like this:

index=YourIndexHere sourcetype=YourSourcetypeHere | spath | search value >= 2000001

Note: the spath command might create a field name with other prefices for value so it may not have that exact name.

0 Karma


You can use >= in your search, assuming you have "value" parsed out into a field already:

index=(your index) value >= 2000001