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 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...