Splunk Search

I'm able to get the number of hits that come from each City using iplocation, but why do I get such a high number for VALUE?

rana_nour
Explorer
index=gasf uri_path="*.aspx"  (( eventtype="Hub" ) AND eventtype=*)   | iplocation clientip | timechart span=1hr c by City limit=400 usenull=f

Here is my search. It gets the number of hits that come from each City. The issue is that it gets a large number for "VALUE". Need to know what does it indicate, how to resolve this issue, and if it can't be resolved, how can I hide the VALUE ?

alt text

Tags (2)
0 Karma
1 Solution

MuS
SplunkTrust
SplunkTrust

Hi rana_nour,

the VALUE field in the timechart output is related to events with no City value in it, for what ever reason (This must be checked and fixed by yourself). But you can simply add another filter to exclude them from the timechart like this:

index=gasf uri_path="*.aspx"  (( eventtype="Hub" ) AND eventtype=*)   | iplocation clientip | where City!="" | timechart span=1hr c by City limit=400 usenull=f

Hope that helps ...

cheers, MuS

View solution in original post

MuS
SplunkTrust
SplunkTrust

Hi rana_nour,

the VALUE field in the timechart output is related to events with no City value in it, for what ever reason (This must be checked and fixed by yourself). But you can simply add another filter to exclude them from the timechart like this:

index=gasf uri_path="*.aspx"  (( eventtype="Hub" ) AND eventtype=*)   | iplocation clientip | where City!="" | timechart span=1hr c by City limit=400 usenull=f

Hope that helps ...

cheers, MuS

Get Updates on the Splunk Community!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...