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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...