<?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 Monitor files perfomance in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-files-perfomance/m-p/410928#M72765</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I need to monitor some Oracle Database agent logs with Splunk Universal Forwarder. The base directory for finding the logs is $ORACLE_HOME.&lt;/P&gt;

&lt;P&gt;We´re using this configuration to monitor these logs in a Splunk Enterprise environment:&lt;BR /&gt;
&lt;STRONG&gt;[monitor://$ORACLE_HOME/log/*/agent/ohasd/oraagent_(grid|oracle)/oraagent_(grid|oracle).log]&lt;/STRONG&gt;&lt;BR /&gt;
...&lt;/P&gt;

&lt;P&gt;I know we could configure ORACLE_HOME env in splunk-launch.conf on each UF instance. &lt;BR /&gt;
However, we have already installed all Universal Forwarders and we don´t know the $ORACLE_HOME env variable on the UF hosts. &lt;BR /&gt;
we have about 300 hosts, so we decided to do the above configuration to save time:&lt;BR /&gt;
&lt;STRONG&gt;[monitor:///.../log/*/agent/ohasd/oraagent_(grid|oracle)/oraagent_(grid|oracle).log]&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;When I execute &lt;STRONG&gt;splunk list monitor&lt;/STRONG&gt; its listing all directories under &lt;STRONG&gt;/&lt;/STRONG&gt; partition, even if there is one log file per host.&lt;/P&gt;

&lt;P&gt;My questions are:&lt;/P&gt;

&lt;P&gt;1 - Does Splunk will really look into all directories under &lt;STRONG&gt;/&lt;/STRONG&gt;?&lt;BR /&gt;
2 - If yes, would I have performance problems because the huge amount of directories?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 00:07:18 GMT</pubDate>
    <dc:creator>douglasmsouza</dc:creator>
    <dc:date>2020-09-30T00:07:18Z</dc:date>
    <item>
      <title>Monitor files perfomance</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-files-perfomance/m-p/410928#M72765</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I need to monitor some Oracle Database agent logs with Splunk Universal Forwarder. The base directory for finding the logs is $ORACLE_HOME.&lt;/P&gt;

&lt;P&gt;We´re using this configuration to monitor these logs in a Splunk Enterprise environment:&lt;BR /&gt;
&lt;STRONG&gt;[monitor://$ORACLE_HOME/log/*/agent/ohasd/oraagent_(grid|oracle)/oraagent_(grid|oracle).log]&lt;/STRONG&gt;&lt;BR /&gt;
...&lt;/P&gt;

&lt;P&gt;I know we could configure ORACLE_HOME env in splunk-launch.conf on each UF instance. &lt;BR /&gt;
However, we have already installed all Universal Forwarders and we don´t know the $ORACLE_HOME env variable on the UF hosts. &lt;BR /&gt;
we have about 300 hosts, so we decided to do the above configuration to save time:&lt;BR /&gt;
&lt;STRONG&gt;[monitor:///.../log/*/agent/ohasd/oraagent_(grid|oracle)/oraagent_(grid|oracle).log]&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;When I execute &lt;STRONG&gt;splunk list monitor&lt;/STRONG&gt; its listing all directories under &lt;STRONG&gt;/&lt;/STRONG&gt; partition, even if there is one log file per host.&lt;/P&gt;

&lt;P&gt;My questions are:&lt;/P&gt;

&lt;P&gt;1 - Does Splunk will really look into all directories under &lt;STRONG&gt;/&lt;/STRONG&gt;?&lt;BR /&gt;
2 - If yes, would I have performance problems because the huge amount of directories?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:07:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-files-perfomance/m-p/410928#M72765</guid>
      <dc:creator>douglasmsouza</dc:creator>
      <dc:date>2020-09-30T00:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor files perfomance</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-files-perfomance/m-p/410929#M72766</link>
      <description>&lt;P&gt;Yes and Yes. Ideally its not recommended to use wildcard at root level as it'll cause UF to recursive walkthrough all those files/directories. You will see performance impact because of that. (high CPU). Will the $ORACLE_HOME be different in all those UFs?? You can either have the server owner create a symlink for you, that you'll monitor (same symlink pointing to appropriate Oracle installation directory) OR create a monitoring stanza that will take care of variations in $ORACLE_HOME values.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:11:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-files-perfomance/m-p/410929#M72766</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-30T00:11:53Z</dc:date>
    </item>
  </channel>
</rss>

