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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...