Splunk Search

What does "pop from empty list" mean?

Alexandre_Nizou
Explorer

Using diff in a search, the interface shows the following message:

Pop from empty string

The search is the following:

index=main source="/etc/syslog-ng/syslog-ng.conf" | diff

Source exists in the correct index, and without the diff it will show raw content revisions of said file. What am I doing wrong?

Thanks.

Tags (3)
0 Karma

sideview
SplunkTrust
SplunkTrust

Hm. that's very strange.

Out of curiosity what happens if you really only give diff the most recent 2 revisions, like so:

index=main source="/etc/syslog-ng/syslog-ng.conf" | head 2 | diff

It shouldnt make a difference but I'm wondering if it hits something deeper in the events that is triggering some bug.

Another thing to troubleshoot would be comparing different positions besides the first two rows.

index=main source="/etc/syslog-ng/syslog-ng.conf" | diff position1=10 position2=11
0 Karma

Alexandre_Nizou
Explorer

Did not change a thing, yet when I do a 'index=main source="/etc/syslog-ng/syslog-ng.conf"' I do see 2 different revisions of the file.

0 Karma
Get Updates on the Splunk Community!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...