Getting Data In

How to get rid of columns with no values?

hunterpj
Path Finder

I want to look at values in savedsearch.conf using the REST API, however a lot of blank columns show up! When I type in this search:

| rest splunk_server=local /servicesNS/-/-/saved/searches/  

The attached table happens, and I don't know how to get rid of the unnecessary columns.
Note: There are more blank columns than these, and they do not all start with action.

0 Karma
1 Solution

amiftah
Communicator

You can add | fields - field1, field2 to exclude columns that you don't want to have, or you can use | table field1, field2 to display only the columns you want to have

View solution in original post

jhonmiller
New Member

I know the answer but first, you can go to the link https://chathelp.org/gmail-support/ which provides the best answer. And they will also provide the Gmail support. so, you can visit this site which is written over here.

0 Karma

amiftah
Communicator

You can add | fields - field1, field2 to exclude columns that you don't want to have, or you can use | table field1, field2 to display only the columns you want to have

Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...