<?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: Email Notification with Error Logfiles in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Email-Notification-with-Error-Logfiles/m-p/75886#M7235</link>
    <description>&lt;P&gt;Thanks for the answer! I have here some problems with the forwarder... Can you give me your email or emailing me? Mine is: &lt;A href="mailto:yannik.heinz@itac.de"&gt;yannik.heinz@itac.de&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2013 09:56:36 GMT</pubDate>
    <dc:creator>Yannik333</dc:creator>
    <dc:date>2013-03-28T09:56:36Z</dc:date>
    <item>
      <title>Email Notification with Error Logfiles</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Email-Notification-with-Error-Logfiles/m-p/75884#M7233</link>
      <description>&lt;P&gt;Hey,&lt;BR /&gt;
i have installed splunk and i hope i can do these tasks with it.&lt;BR /&gt;
(Im have never used splunk before)&lt;/P&gt;

&lt;P&gt;I have some Logfiles on a machine in the network.&lt;BR /&gt;
I will analyze these logfiles with splunk on another machine and if there are some error messages it should send me an email and inform me.&lt;/P&gt;

&lt;P&gt;I have installed the Splunk forwarder on the machine with the logfiles.&lt;BR /&gt;
Now. Whats with the email service? Is it possible?&lt;/P&gt;

&lt;P&gt;And if yes how?&lt;/P&gt;

&lt;P&gt;Notice: Im a beginner (noob) with splunk.&lt;BR /&gt;
Sorry for bad english.&lt;/P&gt;

&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2013 09:35:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Email-Notification-with-Error-Logfiles/m-p/75884#M7233</guid>
      <dc:creator>Yannik333</dc:creator>
      <dc:date>2013-03-27T09:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Email Notification with Error Logfiles</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Email-Notification-with-Error-Logfiles/m-p/75885#M7234</link>
      <description>&lt;P&gt;You can use scripted inputs to do all kinds of weird things to get data into Splunk. The better choice is to use universal forwarder to forward your data or you can transfer the logs to local splunk instance or put it on a network sharing drive via samba/nfs etc. &lt;/P&gt;

&lt;P&gt;So in order to analyze the logs you need first to index them into splunk, the next steps is to used saved search and alert with an notification email. An alert could be triggered when a criteria is met.&lt;/P&gt;

&lt;P&gt;You can configure savedsearch.conf easily or just use the management interface.&lt;BR /&gt;
An example of editing the savedsearch.conf file to sent an email notification:&lt;/P&gt;

&lt;P&gt;[Database Response Time Average]&lt;BR /&gt;
action.email = 1 &lt;BR /&gt;
action.email.format = csv &lt;BR /&gt;
action.email.sendresults = 1 &lt;BR /&gt;
action.email.subject = Splunk DB response time on online is very high &amp;gt; 200 sec.: $name$&lt;BR /&gt;
action.email.to = &lt;A href="mailto:royimad@royimad.net" target="_blank"&gt;royimad@royimad.net&lt;/A&gt;&lt;BR /&gt;
action.script = 1&lt;BR /&gt;
action.script.filename = actions.sh&lt;BR /&gt;
alert.digest_mode = True&lt;BR /&gt;
alert.expires = 12h&lt;BR /&gt;
alert.severity = 5&lt;BR /&gt;
alert.suppress = 1&lt;BR /&gt;
alert.suppress.fields = average&lt;BR /&gt;
alert.suppress.period = 1d&lt;BR /&gt;
auto_summarize.dispatch.earliest_time = -1d@h&lt;BR /&gt;
counttype = number of events&lt;BR /&gt;
cron_schedule = */55 * * * *&lt;BR /&gt;
enableSched = 1&lt;BR /&gt;
quantity = 0&lt;BR /&gt;
relation = greater than&lt;BR /&gt;
search = host="online.wavemark.net" (LOGTYPE="DB") | stats avg(LOGDURATION) AS average | where average &amp;gt; 2000&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:37:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Email-Notification-with-Error-Logfiles/m-p/75885#M7234</guid>
      <dc:creator>royimad</dc:creator>
      <dc:date>2020-09-28T13:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Email Notification with Error Logfiles</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Email-Notification-with-Error-Logfiles/m-p/75886#M7235</link>
      <description>&lt;P&gt;Thanks for the answer! I have here some problems with the forwarder... Can you give me your email or emailing me? Mine is: &lt;A href="mailto:yannik.heinz@itac.de"&gt;yannik.heinz@itac.de&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2013 09:56:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Email-Notification-with-Error-Logfiles/m-p/75886#M7235</guid>
      <dc:creator>Yannik333</dc:creator>
      <dc:date>2013-03-28T09:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Email Notification with Error Logfiles</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Email-Notification-with-Error-Logfiles/m-p/75887#M7236</link>
      <description>&lt;P&gt;Sure , Please email me to: &lt;A href="mailto:royimad@gmail.com"&gt;royimad@gmail.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2013 11:36:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Email-Notification-with-Error-Logfiles/m-p/75887#M7236</guid>
      <dc:creator>royimad</dc:creator>
      <dc:date>2013-03-28T11:36:01Z</dc:date>
    </item>
  </channel>
</rss>

