Dashboards & Visualizations

How do you chart unique IP addresses that come through our web servers over time?

dienel
New Member

I need to chart the number of unique IP addresses through our web servers in 15 minute buckets over time.

using this query:

index="web_access" host="mywebhost1" OR  host="mywebhost2" |timechart span=15m count by dc(clientip)

The resulting chart has counts that are way too high — in the thousands.

And this query...

index="web_access" host="mywebhost1" OR  host="mywebhost2" |stats dc(clientip) as clientip

...gives me a count of ~200 for the same time for the last hour.

Tags (1)
0 Karma

mstjohn_splunk
Splunk Employee
Splunk Employee

Hi @dienel,

Did the answer below solve your problem? If so, please resolve this post by approving it! If your problem is still not solved, keep us updated so that someone else can help ya. Thanks for posting!

0 Karma

KailA
Contributor

Hello,

I think it's just a little mistake you made in the first search.
Should be like this i guess

index="web_access" host="mywebhost1" OR host="mywebhost2" 
| timechart span=15m dc(clientip) 

That should give you the number of unique IP adress in 15min buckets.

Kail

dienel
New Member

using the phrase "| timechart span=15m dc(clientip)" results in "No results found"

0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.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 ...