<?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: Log File Monitoring in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Log-File-Monitoring/m-p/62233#M7154</link>
    <description>&lt;P&gt;I would suggest this search instead&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=itp-srv-03 index=app sourcetype=filenetlistener source="D:\EAI\axis-jms\logs\listener.log" *xception
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In your alert, set the condition to "if number of events is greater than 0" and select the option to include the results in the email. Splunk will include all the matching events as part of the alert.&lt;/P&gt;

&lt;P&gt;BTW, Splunk search is case-insensitive, so if you are searching for "Exception" or "exception" you can simply write it as&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=itp-srv-03 index=app sourcetype=filenetlistener source="D:\EAI\axis-jms\logs\listener.log" exception
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and Splunk will find it regardless of capitalization.&lt;/P&gt;</description>
    <pubDate>Tue, 29 May 2012 18:25:23 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2012-05-29T18:25:23Z</dc:date>
    <item>
      <title>Log File Monitoring</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Log-File-Monitoring/m-p/62232#M7153</link>
      <description>&lt;P&gt;Hi,  &lt;/P&gt;

&lt;P&gt;I am running the following saved search every 10 minutes which will send an email if *xception is found in the filenetlistener.log file.  The email contains the alert along with a csv file which outlines the number of severities.&lt;/P&gt;

&lt;P&gt;host=itp-srv-03 index=app sourcetype=filenetlistener source="D:\EAI\axis-jms\logs\listener.log" | search *xception | stats count | rangemap field=count low=0-0  default=severe&lt;/P&gt;

&lt;P&gt;Do you know is it possible for Splunk to include in the email the listener log file or an extract of the listener log showing the exception?&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2012 14:51:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Log-File-Monitoring/m-p/62232#M7153</guid>
      <dc:creator>itsomana</dc:creator>
      <dc:date>2012-05-29T14:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Log File Monitoring</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Log-File-Monitoring/m-p/62233#M7154</link>
      <description>&lt;P&gt;I would suggest this search instead&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=itp-srv-03 index=app sourcetype=filenetlistener source="D:\EAI\axis-jms\logs\listener.log" *xception
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In your alert, set the condition to "if number of events is greater than 0" and select the option to include the results in the email. Splunk will include all the matching events as part of the alert.&lt;/P&gt;

&lt;P&gt;BTW, Splunk search is case-insensitive, so if you are searching for "Exception" or "exception" you can simply write it as&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=itp-srv-03 index=app sourcetype=filenetlistener source="D:\EAI\axis-jms\logs\listener.log" exception
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and Splunk will find it regardless of capitalization.&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2012 18:25:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Log-File-Monitoring/m-p/62233#M7154</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-05-29T18:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Log File Monitoring</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Log-File-Monitoring/m-p/62234#M7155</link>
      <description>&lt;P&gt;Many thanks for you reply.  I am not sure if this will work for me as I need the stats count so I can display the saved search on the dashboard.  This is green when when zero events of *xception are not found.  &lt;/P&gt;

&lt;P&gt;I already have set the condition set to alert if the number of events is greater than zero.  When one event is found this turns the dashboard to red.&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2012 14:25:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Log-File-Monitoring/m-p/62234#M7155</guid>
      <dc:creator>itsomana</dc:creator>
      <dc:date>2012-05-30T14:25:09Z</dc:date>
    </item>
  </channel>
</rss>

