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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...