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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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