Dashboards & Visualizations

How to exclude _raw data column from "Statistics Table" panel?

yanivamram
Path Finder

Hi,

I've created a Statistics Table panel in a Dashboard.

My search query looks like:

sourcetype=my_sourcetype my_keyword |fields my_field1, my_field2 | sort +my_field1,+my_field2

But in the table I see also the raw data (_raw column).
Is there a way to exclude the _raw column?

Also, when I try to create a PDF report based on my Dashboard, all panels looks fine, but the Statistics Table panel doesn't contain the selected columns but only timestamp and _raw 😞

Thanks in advance,

Yaniv

Tags (4)
1 Solution

tom_frotscher
Builder

Hi,

i think what you should do is replace your fields command with the table command like that:

sourcetype=my_sourcetype my_keyword | table my_field1, my_field2 | sort +my_field1,+my_field2

View solution in original post

strive
Influencer

If you want to use fields command then see the second example in this link

http://docs.splunk.com/Documentation/Splunk/6.1.2/SearchReference/fields

0 Karma

tom_frotscher
Builder

Hi,

i think what you should do is replace your fields command with the table command like that:

sourcetype=my_sourcetype my_keyword | table my_field1, my_field2 | sort +my_field1,+my_field2

yanivamram
Path Finder

Thanks a lot for the quick answer - now it works.
I am pretty new to Splunk.

Yaniv

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...