<?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: Setting up splunk monitors in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Setting-up-splunk-monitors/m-p/344691#M5458</link>
    <description>&lt;P&gt;The TA for nix comes configured to collect a number of common logs from *nix systems, so its possible that's how your environment has been configured. If so you probably have &lt;CODE&gt;sourcetype=messages&lt;/CODE&gt; or  &lt;CODE&gt;sourcetype=dmesg&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;If this is the case then it may not be as you fear.&lt;BR /&gt;
If however, all of your data is in one sourcetype I shall weep for you. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2017 16:51:26 GMT</pubDate>
    <dc:creator>nickhills</dc:creator>
    <dc:date>2017-12-13T16:51:26Z</dc:date>
    <item>
      <title>Setting up splunk monitors</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Setting-up-splunk-monitors/m-p/344688#M5455</link>
      <description>&lt;P&gt;At my job whenever they set up a Splunk forwarder they add only one monitor. "/var/logs". Does anybody do it this way?&lt;/P&gt;

&lt;P&gt;Shouldn't we adding monitors with stanzas on the /SPLUNK_HOME/etc/system/local/intputs.conf ?&lt;/P&gt;

&lt;P&gt;We have forwarders installed on 29 servers. Our licence usage is currently at 8GB. Does this sound like its too much for the amount of servers?&lt;/P&gt;

&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 13:49:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Setting-up-splunk-monitors/m-p/344688#M5455</guid>
      <dc:creator>fsrodriguez</dc:creator>
      <dc:date>2017-12-13T13:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up splunk monitors</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Setting-up-splunk-monitors/m-p/344689#M5456</link>
      <description>&lt;P&gt;if this is as you say, the chances are high that your ingesting duplicate data (such as when your log files role) and you likely have very few sourcetypes.&lt;/P&gt;

&lt;P&gt;Whilst obviously this will (and does) work, its not a very sensible way to use Splunk.&lt;/P&gt;

&lt;P&gt;In terms of estimating the licence usage, its difficult to say without knowing what sort of logs your collecting but 8GB/day for 30 servers seems like a lot unless they are quite busy.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 14:49:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Setting-up-splunk-monitors/m-p/344689#M5456</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-12-13T14:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up splunk monitors</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Setting-up-splunk-monitors/m-p/344690#M5457</link>
      <description>&lt;P&gt;Yeah that's what I was thinking. All of the instances have the Splunk Add-on for Unix and Linux. Some alerts are just set up to check if a service is running. I don't think we even need to add that monitor directory in order for those alerts to work.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 16:13:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Setting-up-splunk-monitors/m-p/344690#M5457</guid>
      <dc:creator>fsrodriguez</dc:creator>
      <dc:date>2017-12-13T16:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up splunk monitors</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Setting-up-splunk-monitors/m-p/344691#M5458</link>
      <description>&lt;P&gt;The TA for nix comes configured to collect a number of common logs from *nix systems, so its possible that's how your environment has been configured. If so you probably have &lt;CODE&gt;sourcetype=messages&lt;/CODE&gt; or  &lt;CODE&gt;sourcetype=dmesg&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;If this is the case then it may not be as you fear.&lt;BR /&gt;
If however, all of your data is in one sourcetype I shall weep for you. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 16:51:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Setting-up-splunk-monitors/m-p/344691#M5458</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-12-13T16:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up splunk monitors</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Setting-up-splunk-monitors/m-p/344692#M5459</link>
      <description>&lt;P&gt;what do you mean by all of my data is once sourcetype?... and I have a feeling it is lol..&lt;/P&gt;

&lt;P&gt;So lets say I am trying to monitor only the tomcat service and create a query with ps source. I should go into /etc/system/local/inputs.conf and add:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:/opt/tomcat/logs/catalina.out]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;then this should work and it shouldn't return any results when the service is down correct?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="server1" source=ps tomcat| stats latest(_time) as latest by host
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Dec 2017 20:05:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Setting-up-splunk-monitors/m-p/344692#M5459</guid>
      <dc:creator>fsrodriguez</dc:creator>
      <dc:date>2017-12-13T20:05:14Z</dc:date>
    </item>
  </channel>
</rss>

