<?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: Emailing selected Fields with Alert in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Emailing-selected-Fields-with-Alert/m-p/19919#M3083</link>
    <description>&lt;P&gt;How do you shortlist them in search? e.g. i tried this method on finding the string "invalid password". I set an alert on &lt;BR /&gt;
"invalid password" | fields + host,source,sourcetype&lt;BR /&gt;
It gave me an email just with the alert name and the link pointed back again to the whole list of logs.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jul 2012 17:37:28 GMT</pubDate>
    <dc:creator>aniketb</dc:creator>
    <dc:date>2012-07-30T17:37:28Z</dc:date>
    <item>
      <title>Emailing selected Fields with Alert</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Emailing-selected-Fields-with-Alert/m-p/19917#M3081</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to create an alert which emails me just the "host", "sourcetype" and "source" in the email.&lt;BR /&gt;
I know we have an option of "Include results in email" but this alert flags off after 1000 events and I don't need any info from the log, I just need to look at those 3 fields.&lt;/P&gt;

&lt;P&gt;Any possible way to do this?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2012 18:37:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Emailing-selected-Fields-with-Alert/m-p/19917#M3081</guid>
      <dc:creator>aniketb</dc:creator>
      <dc:date>2012-07-27T18:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Emailing selected Fields with Alert</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Emailing-selected-Fields-with-Alert/m-p/19918#M3082</link>
      <description>&lt;P&gt;I think the best way to accomplish that is to make your alert condition &lt;EM&gt;not&lt;/EM&gt; based on your results but instead a custom condition that way you can modify your results to be the host/sourcetype/source and provide those in your email instead.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2012 20:27:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Emailing-selected-Fields-with-Alert/m-p/19918#M3082</guid>
      <dc:creator>Kate_Lawrence-G</dc:creator>
      <dc:date>2012-07-27T20:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Emailing selected Fields with Alert</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Emailing-selected-Fields-with-Alert/m-p/19919#M3083</link>
      <description>&lt;P&gt;How do you shortlist them in search? e.g. i tried this method on finding the string "invalid password". I set an alert on &lt;BR /&gt;
"invalid password" | fields + host,source,sourcetype&lt;BR /&gt;
It gave me an email just with the alert name and the link pointed back again to the whole list of logs.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2012 17:37:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Emailing-selected-Fields-with-Alert/m-p/19919#M3083</guid>
      <dc:creator>aniketb</dc:creator>
      <dc:date>2012-07-30T17:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Emailing selected Fields with Alert</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Emailing-selected-Fields-with-Alert/m-p/19920#M3084</link>
      <description>&lt;P&gt;I was thinking something more along the lines of this:&lt;/P&gt;

&lt;P&gt;sourcetype=&lt;WHATEVER&gt; "A string!" | eval error="A string!"  | stats c(error) as e, values(host),values(source) by sourcetype | where e &amp;gt; 0&lt;/WHATEVER&gt;&lt;/P&gt;

&lt;P&gt;You can either keep the where in the search and alert when events are found OR you can take it out and put it in as the conditional alerting custom condition. &lt;/P&gt;

&lt;P&gt;In this context it will send you the host/source and sourcetype information as the results of the search.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2012 18:40:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Emailing-selected-Fields-with-Alert/m-p/19920#M3084</guid>
      <dc:creator>Kate_Lawrence-G</dc:creator>
      <dc:date>2012-07-30T18:40:44Z</dc:date>
    </item>
  </channel>
</rss>

