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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...