Splunk Search

Why am I unable to return any results with the appendcols command?

mcgi906
Explorer

I have a search where I get a value "SplitID" that, along with another ID, gets put into a table. However, I am using SplitID in my appendcols search to return a field called Reason and using head 1 to return only one value to append to the table. However, with the appendcols, the table does not return any results. Any ideas?

0 Karma

ddrillic
Ultra Champion

The reference at appendcols

Can you please show us the code?

0 Karma

sundareshr
Legend

Can you share you current search? appendcols will add a column to an existing table, sounds like what you need is append

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...