<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Line breaks being removed from raw data in email alerts after upgrade to 6.1 in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Line-breaks-being-removed-from-raw-data-in-email-alerts-after/m-p/181637#M52345</link>
    <description>&lt;P&gt;This didn't work for me. In fact, I didn't even have an action.email.format line, and couldn't find it in the docs. What version are you running? And would you mind sharing your search and the rest of that alert's configs?&lt;/P&gt;</description>
    <pubDate>Tue, 05 May 2015 17:00:22 GMT</pubDate>
    <dc:creator>devin_stonecyph</dc:creator>
    <dc:date>2015-05-05T17:00:22Z</dc:date>
    <item>
      <title>Line breaks being removed from raw data in email alerts after upgrade to 6.1</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Line-breaks-being-removed-from-raw-data-in-email-alerts-after/m-p/181632#M52340</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I have tried modifying the scheduled alert email actions to use raw and table format for the emailed alert, but both seem to strip out all line breaks from the original _raw field, meaning it is far more difficult to read long, multiline events with deliberate line breaking for legibility.&lt;/P&gt;

&lt;P&gt;Is there any way to force the emailed alerts to keep the original line breaking? Or any way to make the 'table' command keep the original line breaks?&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
Nick v K&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2014 00:33:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Line-breaks-being-removed-from-raw-data-in-email-alerts-after/m-p/181632#M52340</guid>
      <dc:creator>nvonkorff</dc:creator>
      <dc:date>2014-05-29T00:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Line breaks being removed from raw data in email alerts after upgrade to 6.1</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Line-breaks-being-removed-from-raw-data-in-email-alerts-after/m-p/181633#M52341</link>
      <description>&lt;P&gt;We are having the same issue.  This did not appear to be happening on the email alert table _raw output before the upgrade to 6.1 .&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2014 17:16:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Line-breaks-being-removed-from-raw-data-in-email-alerts-after/m-p/181633#M52341</guid>
      <dc:creator>DavidGuarneri</dc:creator>
      <dc:date>2014-08-19T17:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Line breaks being removed from raw data in email alerts after upgrade to 6.1</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Line-breaks-being-removed-from-raw-data-in-email-alerts-after/m-p/181634#M52342</link>
      <description>&lt;P&gt;anyone have a solution/workaround for this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2015 12:49:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Line-breaks-being-removed-from-raw-data-in-email-alerts-after/m-p/181634#M52342</guid>
      <dc:creator>maimonoded</dc:creator>
      <dc:date>2015-01-27T12:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Line breaks being removed from raw data in email alerts after upgrade to 6.1</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Line-breaks-being-removed-from-raw-data-in-email-alerts-after/m-p/181635#M52343</link>
      <description>&lt;P&gt;Having the same problem. What happened? The alert emails used to look great!!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2015 23:33:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Line-breaks-being-removed-from-raw-data-in-email-alerts-after/m-p/181635#M52343</guid>
      <dc:creator>ifightcrime</dc:creator>
      <dc:date>2015-02-18T23:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Line breaks being removed from raw data in email alerts after upgrade to 6.1</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Line-breaks-being-removed-from-raw-data-in-email-alerts-after/m-p/181636#M52344</link>
      <description>&lt;P&gt;OK. I think I figured it out. Find your saved "Alert" search in savedsearches.conf&lt;/P&gt;

&lt;P&gt;Modify this line:&lt;BR /&gt;
from:&lt;BR /&gt;
action.email.format = raw&lt;BR /&gt;
to:&lt;BR /&gt;
action.email.format = text&lt;/P&gt;

&lt;P&gt;I don't think that there is any way to do this from the user interface. The only options are "Table, Raw or CSV" and none of these seem to retain the original line breaks. My search includes the following at the end:&lt;/P&gt;

&lt;P&gt;| fields + _time host _raw&lt;/P&gt;

&lt;P&gt;I now have properly formatted (including original line breaks) alerts being sent by email. Yay!!!&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 04:51:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Line-breaks-being-removed-from-raw-data-in-email-alerts-after/m-p/181636#M52344</guid>
      <dc:creator>nvonkorff</dc:creator>
      <dc:date>2015-05-04T04:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Line breaks being removed from raw data in email alerts after upgrade to 6.1</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Line-breaks-being-removed-from-raw-data-in-email-alerts-after/m-p/181637#M52345</link>
      <description>&lt;P&gt;This didn't work for me. In fact, I didn't even have an action.email.format line, and couldn't find it in the docs. What version are you running? And would you mind sharing your search and the rest of that alert's configs?&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2015 17:00:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Line-breaks-being-removed-from-raw-data-in-email-alerts-after/m-p/181637#M52345</guid>
      <dc:creator>devin_stonecyph</dc:creator>
      <dc:date>2015-05-05T17:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Line breaks being removed from raw data in email alerts after upgrade to 6.1</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Line-breaks-being-removed-from-raw-data-in-email-alerts-after/m-p/181638#M52346</link>
      <description>&lt;P&gt;Hi Devin,&lt;/P&gt;

&lt;P&gt;Running Splunk 6.2.0.&lt;/P&gt;

&lt;P&gt;Here is the entire block of the search in question:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[Sybase Deadlocks - Alert]
action.email = 1
action.email.format = text
action.email.inline = 1
action.email.sendresults = 1
action.email.to = joe@example.com
alert.digest_mode = True
alert.severity = 4
alert.suppress = 0
alert.track = 0
auto_summarize.dispatch.earliest_time = -1d@h
counttype = number of events
cron_schedule = */15 * * * *
dispatch.earliest_time = -15m@m
dispatch.latest_time = now
display.general.type = statistics
display.page.search.tab = statistics
displayview = flashtimeline
enableSched = 1
quantity = 0
relation = greater than
request.ui_dispatch_view = search
search = index=sybase sourcetype="sybasease_errorlog" deadlock | transaction source startswith="Deadlock Id * detected" endswith="End of deadlock information" | fields + _time host _raw
vsid = *:4zdfqaho
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 24 May 2015 22:44:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Line-breaks-being-removed-from-raw-data-in-email-alerts-after/m-p/181638#M52346</guid>
      <dc:creator>nvonkorff</dc:creator>
      <dc:date>2015-05-24T22:44:39Z</dc:date>
    </item>
  </channel>
</rss>

