Alerting

Alert csv has extra blank lines when sent via email but not when viewed in Job manager

anthonyfry
Explorer

After reloading Splunk enterprise version 8.0.3, csv files emailed out via alerts have an extra line between rows of data.  Prior to the reload they did not. If the result of the alert is downloaded via the Job Manager, the file is as expected.  If the two versions of csv are opened with notepad++ I can see that the file normally has "CRLF" at the end of each line and the incorrect one has "CRCRLF"

The alerts are the result from a simple |table type search and have worked for months without issue.  The server was reloaded by out IT people due to unrelated issues with the kv store

SPLUNK is set to use python 3, which I believe is the same as before the reload. Any help would be appreciated as the automation fed by these csv's is failing due to the additional blank lines

Labels (2)
0 Karma
1 Solution

anthonyfry
Explorer

The issue was fixed by changing to Python 2

View solution in original post

0 Karma

anthonyfry
Explorer

The issue was fixed by changing to Python 2

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Submit a support request with Splunk.  I wouldn't expect a resolution soon, however, so be prepared to change your automation.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

New This Month in Splunk Observability Cloud - Metrics Usage Analytics, Enhanced K8s ...

The latest enhancements across the Splunk Observability portfolio deliver greater flexibility, better data and ...

Alerting Best Practices: How to Create Good Detectors

At their best, detectors and the alerts they trigger notify teams when applications aren’t performing as ...

Discover Powerful New Features in Splunk Cloud Platform: Enhanced Analytics, ...

Hey Splunky people! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2408. In this ...