Refine your search:

hi, i'm trying to get a simple pie chart of all my eventtypes for my dash board; the problem is that we currently have all log entries come in with the eventtype 'unix-all-logs'; which means not only am i double counting, but also has a rather large (50%) slice for the unix-add-logs.

is there a way i can remove just that entry from the output? or do i have to persuade who ever to not apply that eventtype to everything?

sourcetype=cisco_syslog | top limit=0 eventtype 

asked 31 Mar '11, 01:31

ytl's gravatar image

ytl
398
accept rate: 0%

edited 04 May '11, 14:14

jlaw's gravatar image

jlaw ♦
72138


One Answer:

Just remove the eventtype 'unix-all-logs' from your base search.

sourcetype=cisco_syslog AND NOT eventtype="unix-all-logs" | top limit=0 eventtype
link

answered 04 May '11, 14:54

Ayn's gravatar image

Ayn
24.8k3717
accept rate: 41%

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:

×281
×58

Asked: 31 Mar '11, 01:31

Seen: 1,519 times

Last updated: 04 May '11, 14:54

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