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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...