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!

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