Splunk Search

Missing columns when searching

jcbrendsel
Path Finder

I seem to be encounting some sort of limit on the number of columns that are being displayed. Here is the gist of what I am doing:

  1. Base search generates 8 columns.
  2. Join to a lookup table that adds another 10 columns.
  3. A series of eval statements that add another 5 columns.

Only the first eval statement seems to be completing, adding just that one column. The others seem to just disappear into the ether.

Is there some sort of implicit or explicit limit on the number of columns that can be processed, output, etc?

Jon.

Tags (2)
0 Karma
1 Solution

Paolo_Prigione
Builder

Can you see the names of disappeared fields into the field picker on the left?

This might be related to how the browser displays a long list of columns frequently leading to a lot of horizontal scrolling to reach the last ones. Have you tried to put a "table" command at the end of the query, listing all your interesting columns?

.... | table _time colA colB colC 

You might still need to reach the bottom of the page and scroll throught the horizontal scrollbar.

View solution in original post

Paolo_Prigione
Builder

Can you see the names of disappeared fields into the field picker on the left?

This might be related to how the browser displays a long list of columns frequently leading to a lot of horizontal scrolling to reach the last ones. Have you tried to put a "table" command at the end of the query, listing all your interesting columns?

.... | table _time colA colB colC 

You might still need to reach the bottom of the page and scroll throught the horizontal scrollbar.

Paolo_Prigione
Builder

Nice I was able to help. Actually those commands have different use cases. "fields" actually restricts the field extractions automatically performed by Splunk (..| fields + A B C will discard all the fields which are not A, B or C). You can use it to boost performance as there's no need to compute stats for the fields which you dismisse. "table" instead is used to show the selected fields in a tabular manner (in the "results table" panel), while the others are still hanging in the field picker (so no performance increase there).

0 Karma

jcbrendsel
Path Finder

Paulo - Using the table command instead of the fields command seems to have addressed the issue. What is the difference? are there times when using 'table' instead of 'fields' is preferable?

0 Karma

jcbrendsel
Path Finder

There is definitely no horizontal scroll bar. I will look at the 'table' command. Have not used that before. Right now I am just explicitly listing the columns that I wanted displayed using the fields command.

0 Karma
Get Updates on the Splunk Community!

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 ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...