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!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

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