Splunk Search

Why does the table command in Splunk cause performance degradation?

splunk_anoosheh
New Member

When I use this command ( table ) it runs at a slow speed .... please help me.
Thank you for your answer.

0 Karma

DalJeanis
Legend

Oh, this one killed me for a while.

fields is a streaming, distributable command.

table is neither. table, as well as dropping all non-mentioned fields, reformats the data internally, and limits the results as per some system parameters. It may do other stuff, but the bottom line is that table cannot run until all the results are returned to the search head, whereas fields can be run at each indexer.

So, use fields if you are up in the area where you are dealing with streaming distributable commands, and only use table later, after everything is already on the search head.

richgalloway
SplunkTrust
SplunkTrust

Please share your full query. The table command by itself usually is not a performance drag.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...