Refine your search:

I would like to find out how many events per second my indexer is receiving and indexing.

What search could help me find this out?

asked 23 Sep '11, 08:31

hexx's gravatar image

hexx ♦
7.5k1941
accept rate: 51%

edited 07 Oct '11, 00:40


One Answer:

Run the following search over the time range real-time(all time) and you will be able to see what your incoming event rate looks like :

index=savage_clowns | eval search_time=now() | eval seconds_elapsed=(time() - search_time) | eval secs=if(seconds_elapsed<0,"1",seconds_elapsed) | stats count as ecount, last(secs) AS seconds| stats last(ecount) AS "event count", last(seconds) AS "search seconds elapsed", last(eval(ecount/seconds)) AS eps

This example targets a specific index, but feel free to change the first search terms to better suit your needs.

link

answered 23 Sep '11, 08:35

hexx's gravatar image

hexx ♦
7.5k1941
accept rate: 51%

edited 23 Sep '11, 08:47

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:

×326
×8

Asked: 23 Sep '11, 08:31

Seen: 527 times

Last updated: 20 Feb, 06:58

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