Dashboards & Visualizations

remove element from a chart

ytl
Path Finder

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 
Tags (2)
0 Karma

Ayn
Legend

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

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

DNewfield
New Member

He indicated that every log entry comes in with that eventtype, so won't this exclude all entries?

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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