Reporting

Why is appendcols no longer working in some scheduled searches in Splunk 6.2?

moataz_gaber
New Member

After upgrade to splunk 6.2 some scheduled PDF are not working ... received the below error
Error in 'appendcols' command: You can only use appendcols after a reporting command (such as stats, chart, or timechart).
Here is my original search
eventtype="general_testcases" | timechart span=1mon dc(user) as "Total"
| appendcols maxtime=600 [search eventtype="test_case_1" | timechart span=1mon dc(user) as "Test1"]
| appendcols maxtime=600 [search eventtype="test_case_2" | timechart span=1mon dc(user) as "Test2"]

I don't know why it is not working anymore ... Please help ASAP

0 Karma

rsimmons
Splunk Employee
Splunk Employee

Splunk is currently aware of this error and its a known issue (SPL-93020), where the error appears to be coming from the AppendProcessor which is extracting it from the search.log. Currently there is no workaround, however the issue will be
addressed in an upcoming release.

Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

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