Refine your search:

Hi,

I think this must be easy.. but I can't wrap my head around how to get this done... I want to gather multiple stats for a single query. Essentially, I want to gather the count and avg thruput for webpages from my iis logs...Essentially, something like this..

Page1.html count=10, avgtime=20

Page2.html count=17, avgtime=30

Any suggestions?

asked 02 May '12, 18:38

rnavis's gravatar image

rnavis
410310
accept rate: 25%


One Answer:

if avgtime represents the average of some field like say response_time, and if Page1.html and Page2.html are a field called filename, then you're looking at a simple stats clause of

| stats count avg(response_time) by filename

link

answered 02 May '12, 20:27

sideview's gravatar image

sideview ♦
25.6k4543
accept rate: 46%

edited 02 May '12, 20:27

:)... Cannot believe that I couldn't see that.. Thanks nick!

(03 May '12, 06:29) rnavis
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×287
×265
×138

Asked: 02 May '12, 18:38

Seen: 625 times

Last updated: 03 May '12, 06:29

Copyright © 2005-2012 Splunk Inc. All rights reserved.