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 Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...