<?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 Log ingest rule for custom log source (source type; log path) in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/Log-ingest-rule-for-custom-log-source-source-type-log-path/m-p/233878#M363</link>
    <description>&lt;P&gt;I have added a custom log source, namely&amp;nbsp;&lt;SPAN&gt;d:\apps\signaturelogging\*.txt of source type log path. The folder does exist according to Dynatrace (I checked with the Filesystem Monitoring extension) and there are also logs written to it (according to the Filesystem monitoring extension and my own knowledge ;)). Nevertheless my log ingest rules do not seem to work.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My approaches so far were:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Log source is any of: signaturelogging&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&lt;/P&gt;
&lt;P&gt;Log source is any of: d:\apps\signaturelogging\*.txt&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3.&lt;/P&gt;
&lt;P&gt;Log content is any of:&lt;BR /&gt;*signatureservice**signaturerequest**error**signature*&lt;/P&gt;
&lt;P&gt;(these are words I am expecting in the log messages).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone an idea of how I should write the log ingest rule? What am I doing wrong?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2024 08:19:19 GMT</pubDate>
    <dc:creator>marina_pollehn</dc:creator>
    <dc:date>2024-01-11T08:19:19Z</dc:date>
    <item>
      <title>Log ingest rule for custom log source (source type; log path)</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-ingest-rule-for-custom-log-source-source-type-log-path/m-p/233878#M363</link>
      <description>&lt;P&gt;I have added a custom log source, namely&amp;nbsp;&lt;SPAN&gt;d:\apps\signaturelogging\*.txt of source type log path. The folder does exist according to Dynatrace (I checked with the Filesystem Monitoring extension) and there are also logs written to it (according to the Filesystem monitoring extension and my own knowledge ;)). Nevertheless my log ingest rules do not seem to work.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My approaches so far were:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Log source is any of: signaturelogging&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&lt;/P&gt;
&lt;P&gt;Log source is any of: d:\apps\signaturelogging\*.txt&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3.&lt;/P&gt;
&lt;P&gt;Log content is any of:&lt;BR /&gt;*signatureservice**signaturerequest**error**signature*&lt;/P&gt;
&lt;P&gt;(these are words I am expecting in the log messages).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone an idea of how I should write the log ingest rule? What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 08:19:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-ingest-rule-for-custom-log-source-source-type-log-path/m-p/233878#M363</guid>
      <dc:creator>marina_pollehn</dc:creator>
      <dc:date>2024-01-11T08:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Log ingest rule for custom log source (source type; log path)</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-ingest-rule-for-custom-log-source-source-type-log-path/m-p/233897#M364</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/2456"&gt;@marina_pollehn&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;To add logs with a specific extension (eg: .txt).&lt;BR /&gt;It is necessary to add a “Security Rule” to the machine.&lt;/P&gt;&lt;P&gt;Drop it to this path:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/var/lib/dynatrace/oneagent/agent/config/logmodule&lt;/LI-CODE&gt;&lt;P&gt;The contents of the "securityRulesLoganalytics.json" file:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "@version":"1.0.0",
    "allowed-log-paths-configuration":[
        {
            "directory-pattern":"d:\apps\signaturelogging\",
            "file-pattern":"*.txt",
            "action":"INCLUDE"
        }
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;Let me know if it works.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 13:44:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-ingest-rule-for-custom-log-source-source-type-log-path/m-p/233897#M364</guid>
      <dc:creator>gbaudart</dc:creator>
      <dc:date>2024-01-10T13:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Log ingest rule for custom log source (source type; log path)</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-ingest-rule-for-custom-log-source-source-type-log-path/m-p/233914#M365</link>
      <description>&lt;P&gt;Little question regarding the /config/logmodule. Would this also remain after an update of the OneAgent? Not keen on making these adjustments after every update &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 14:49:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-ingest-rule-for-custom-log-source-source-type-log-path/m-p/233914#M365</guid>
      <dc:creator>marina_pollehn</dc:creator>
      <dc:date>2024-01-10T14:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Log ingest rule for custom log source (source type; log path)</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-ingest-rule-for-custom-log-source-source-type-log-path/m-p/233915#M366</link>
      <description>&lt;P&gt;Yes, it remains good&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 14:49:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-ingest-rule-for-custom-log-source-source-type-log-path/m-p/233915#M366</guid>
      <dc:creator>gbaudart</dc:creator>
      <dc:date>2024-01-10T14:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Log ingest rule for custom log source (source type; log path)</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-ingest-rule-for-custom-log-source-source-type-log-path/m-p/252968#M367</link>
      <description>&lt;P&gt;Afternoon,&lt;/P&gt;&lt;P&gt;I have my Custom Log Sources set to:&lt;BR /&gt;Log Path&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;D:\Program Files\Apache Software Foundation\Tomcat\logs\*&lt;/SPAN&gt;&lt;BR /&gt;I have my security policy set as:&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;"directory-pattern": "/Program Files/Apache Software Foundation/Tomcat/logs/",&lt;BR /&gt;"file-pattern":"*",&lt;BR /&gt;"action":"INCLUDE"&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, there are files in here in the GB file size and I only want one file that changes its date each day for rotation.&lt;/P&gt;&lt;P&gt;What would be the wildcard for this entry.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;localhost_access_log.2024-05-24&amp;nbsp; &amp;nbsp;and&amp;nbsp; &amp;nbsp;localhost_access_log.2024-05-25&amp;nbsp; and&amp;nbsp;localhost_access_log.2024-08-03&lt;/P&gt;&lt;P&gt;I have tried to update the security rule to this but it is still ingesting logs from other files in that directory.&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"directory-pattern": "/Program Files/Apache Software Foundation/Tomcat/logs/",&lt;BR /&gt;"file-pattern":"localhost_access_log.####-##-##",&lt;BR /&gt;"action":"INCLUDE"&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;Any ideas how to gather this rotated file and the use of wildcards?&amp;nbsp; The examples listed in the dynatrace does does not show many examples of wildcards.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 16:57:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-ingest-rule-for-custom-log-source-source-type-log-path/m-p/252968#M367</guid>
      <dc:creator>CTull</dc:creator>
      <dc:date>2024-08-08T16:57:49Z</dc:date>
    </item>
  </channel>
</rss>

