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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...