<?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: How to getrid of the header info in a report in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/How-to-getrid-of-the-header-info-in-a-report/m-p/118571#M2675</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;
If you don't want the extra details or want to customize the output email you need to modify the default sendmail.py file fro your app. Please take a backup before do ant changes.&lt;/P&gt;

&lt;P&gt;Go to [Splunk\etc\apps\[search\app_name]\bin\]the content carefully remove which ever part you don't require:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;intro += "Saved search results.\n\n"

    if settings != None:
        user  = settings.get("user", None)
        if user:
            intro += "User: \'" + escape(user, plainText) + "\'\n"

    if ssName:
        intro += "Name: \'" + escape(ssName, plainText) + "\'\n"

    query = getarg(argvals, "ssquery", None)
    if query:
        intro += "Query Terms: \'" + escape(query, plainText) + "\'\n"

    ssLink = getarg(argvals, "sslink", None)
    if ssLink and not plainText:
        ssLink = "&amp;lt;a href=\"" + ssLink + "\"&amp;gt;" + ssLink + "&amp;lt;/a&amp;gt;"

    if ssLink:
        intro += "Link to results: " + ssLink + "\n";

    ssSummary = getarg(argvals, "sssummary", None)
    if ssSummary:
        intro += "Alert was triggered because of: \'" + escape(ssSummary, plainText) + "\'\n"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2014 18:42:28 GMT</pubDate>
    <dc:creator>linu1988</dc:creator>
    <dc:date>2014-01-17T18:42:28Z</dc:date>
    <item>
      <title>How to getrid of the header info in a report</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-getrid-of-the-header-info-in-a-report/m-p/118570#M2674</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;we have scheduled a report and getting an email using Splunk. But we don't want to display the header info but we want just the actual data. For example below info we don't want to display. Is there an easy way not to display this info while getting an email. &lt;/P&gt;

&lt;P&gt;Name: 'OrdersRevenueByHour' &lt;BR /&gt;
Query Terms: '&lt;CODE&gt;OrdersRevenue&lt;/CODE&gt;' &lt;BR /&gt;
Link to results: &lt;A href="http://ap506:8000/app/search/@go?sid=scheduler__xv__search__RMD5051b14c56cfffbdc_at_1389981720_195885"&gt;http://ap506:8000/app/search/@go?sid=scheduler__xv__search__RMD5051b14c56cfffbdc_at_1389981720_195885&lt;/A&gt; &lt;BR /&gt;
Alert was triggered because of: 'Saved Search [OrdersRevenueByHour]: number of events(23)' &lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2014 18:12:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-getrid-of-the-header-info-in-a-report/m-p/118570#M2674</guid>
      <dc:creator>xvxt006</dc:creator>
      <dc:date>2014-01-17T18:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to getrid of the header info in a report</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-getrid-of-the-header-info-in-a-report/m-p/118571#M2675</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
If you don't want the extra details or want to customize the output email you need to modify the default sendmail.py file fro your app. Please take a backup before do ant changes.&lt;/P&gt;

&lt;P&gt;Go to [Splunk\etc\apps\[search\app_name]\bin\]the content carefully remove which ever part you don't require:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;intro += "Saved search results.\n\n"

    if settings != None:
        user  = settings.get("user", None)
        if user:
            intro += "User: \'" + escape(user, plainText) + "\'\n"

    if ssName:
        intro += "Name: \'" + escape(ssName, plainText) + "\'\n"

    query = getarg(argvals, "ssquery", None)
    if query:
        intro += "Query Terms: \'" + escape(query, plainText) + "\'\n"

    ssLink = getarg(argvals, "sslink", None)
    if ssLink and not plainText:
        ssLink = "&amp;lt;a href=\"" + ssLink + "\"&amp;gt;" + ssLink + "&amp;lt;/a&amp;gt;"

    if ssLink:
        intro += "Link to results: " + ssLink + "\n";

    ssSummary = getarg(argvals, "sssummary", None)
    if ssSummary:
        intro += "Alert was triggered because of: \'" + escape(ssSummary, plainText) + "\'\n"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2014 18:42:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-getrid-of-the-header-info-in-a-report/m-p/118571#M2675</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-01-17T18:42:28Z</dc:date>
    </item>
  </channel>
</rss>

