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!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...