Dashboards & Visualizations

Why does report on dashboard show extra fields?

kmhanson
Explorer

I am new to splunk. Creating a report to count the successful and error logins to my system. The report shows the two columns but when I put the report on my dashboard, it adds two columns, span and span_days. I can't figure out how to remove those two extra columns. Any advice?

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Use the fields command to specify the fields you want to display or those you want to remove.

| fields foo bar
| fields - span span_days
---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

kmhanson
Explorer

Ok - took a few tries but I got it to work with the field command.  Thanks.

richgalloway
SplunkTrust
SplunkTrust

Use the fields command to specify the fields you want to display or those you want to remove.

| fields foo bar
| fields - span span_days
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...