Splunk Search

Number of pages visited by each IP

luchin
New Member

Hi, I am new in splunk and I would like to search for some info in my Logfile.

I am just trying to count the total of pages from each ip/host.

For some reason I can't make it to work.
Thanks for helping 🙂

Tags (1)
0 Karma

cpetterborg
SplunkTrust
SplunkTrust

There isn't much information to go on in your description. Assuming:

  1. You are talking Web access logs
  2. You have the dest_ip field (the user's machine that is accessing the page) for each entry extracted
  3. Your search results in only web pages and not the javascript, image or css files

Try:

<your search> | stats count by dest_ip | sort - count
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 ...