<?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 Monitoring Classic: log with number / hash character in file name not uploaded in Dynatrace Managed Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-with-number-hash-character-in-the-file-name-not-uploaded/m-p/223028#M3612</link>
    <description>&lt;P&gt;I observe, when I add an extra rule in "Custom log source configuration" to tell &lt;FONT face="lucida sans unicode,lucida sans"&gt;Dynatrace&amp;nbsp;&lt;FONT face="courier new,courier"&gt;/myFSLocation/var/log/tomcat/abcd2/abcd2-daily.log&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN&gt; is a log, then it at last get's uploaded.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But&lt;/STRONG&gt;&amp;nbsp;not associated to its PG nor itS PGI. Which is strange, because when I watch through the PG, the tabs "Logs" shows the log file alright. If I add a PG context in the "Custom log source configuration" rule then it's contextualised all-right with PG and PGI.&lt;/P&gt;&lt;P&gt;Yet all this requires per log / per PGI définitions : quite some qork ! Ans not durable : if a PG-ID changes : all gone ! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any ideas.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2023 13:09:48 GMT</pubDate>
    <dc:creator>gilles_tabary</dc:creator>
    <dc:date>2023-09-14T13:09:48Z</dc:date>
    <item>
      <title>Log with number/hash character in the file name not uploaded</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-with-number-hash-character-in-the-file-name-not-uploaded/m-p/222909#M3611</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;I am on managed 1.274.157.20230908-165051 + OneAgent v1.267.155.20230629-142023+. We moved to log Classic kinda recently.&lt;/P&gt;
&lt;P&gt;I have a process group with Dynatrace UI showing auto-detected log files :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;...
/myFSLocation/var/log/tomcat/abcd2/abcd2-daily.log
/myFSLocation/var/log/tomcat/abcd2/abcd#-daily.log (File is not included in log monitoring, some log records may be missing)
...&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I double checked&amp;nbsp;&lt;FONT face="courier new,courier"&gt;/myFSLocation/var/log/tomcat/abcd2/abcd2-daily.log&lt;/FONT&gt; does comply with dynatrace monitorability prerequisit, including being appended at least each minute.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;FYI: we have some other logs for which uploading does work. Like for&amp;nbsp;&lt;FONT face="courier new,courier"&gt;/myFSLocation/var/log/tomcat/abcde/abcde-daily.log&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;(note : no number in log file name).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;FYI : the "&lt;SPAN&gt;Maximum ingest of log events per minute" &lt;/SPAN&gt;&lt;SPAN&gt;is high enough.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Though, we don't get any content being uploaded for this&amp;nbsp;&lt;FONT face="courier new,courier"&gt;abcd2-daily.log&lt;/FONT&gt; log. I mean zero content, zero lines in.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Could we be exposed to an issue with log rotation detection (&lt;A href="http://Premium HA for multi-data centers" target="_blank" rel="noopener"&gt;Log rotation patterns (Logs Classic)&lt;/A&gt;&amp;nbsp;? Any one experienced this ? Any idea ?&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;
&lt;P&gt;--&lt;/P&gt;
&lt;P&gt;(My private internal refs: dynt request: 217427 -&amp;nbsp;jira: DEVOPS-14282)&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 12:47:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-with-number-hash-character-in-the-file-name-not-uploaded/m-p/222909#M3611</guid>
      <dc:creator>gilles_tabary</dc:creator>
      <dc:date>2025-03-19T12:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Log Monitoring Classic: log with number / hash character in file name not uploaded</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-with-number-hash-character-in-the-file-name-not-uploaded/m-p/223028#M3612</link>
      <description>&lt;P&gt;I observe, when I add an extra rule in "Custom log source configuration" to tell &lt;FONT face="lucida sans unicode,lucida sans"&gt;Dynatrace&amp;nbsp;&lt;FONT face="courier new,courier"&gt;/myFSLocation/var/log/tomcat/abcd2/abcd2-daily.log&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN&gt; is a log, then it at last get's uploaded.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But&lt;/STRONG&gt;&amp;nbsp;not associated to its PG nor itS PGI. Which is strange, because when I watch through the PG, the tabs "Logs" shows the log file alright. If I add a PG context in the "Custom log source configuration" rule then it's contextualised all-right with PG and PGI.&lt;/P&gt;&lt;P&gt;Yet all this requires per log / per PGI définitions : quite some qork ! Ans not durable : if a PG-ID changes : all gone ! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any ideas.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 13:09:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-with-number-hash-character-in-the-file-name-not-uploaded/m-p/223028#M3612</guid>
      <dc:creator>gilles_tabary</dc:creator>
      <dc:date>2023-09-14T13:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Log with number/hash character in the file name not uploaded</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-with-number-hash-character-in-the-file-name-not-uploaded/m-p/227006#M3613</link>
      <description>&lt;P&gt;I still have to clean / clear solution to this.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 14:26:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-with-number-hash-character-in-the-file-name-not-uploaded/m-p/227006#M3613</guid>
      <dc:creator>gilles_tabary</dc:creator>
      <dc:date>2023-10-30T14:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Log Monitoring Classic: log with number / hash character in file name not uploaded</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-with-number-hash-character-in-the-file-name-not-uploaded/m-p/227018#M3614</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/27360"&gt;@gilles_tabary&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am a bit puzzled here, your title is "&lt;SPAN&gt;Log with number/hash character in the file name not uploaded" but you are talkign about&amp;nbsp;/myFSLocation/var/log/tomcat/abcd2/abcd2-daily.log&amp;nbsp;not being recognized. so, what is the problem? file name with hashes? numbers, normal file but not being identified?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We are using logging quite heaviliy and if we are absolutelly stuck we used to log to oneagent logs (quite verbose, but only source of information so far).&lt;/P&gt;&lt;P&gt;Something we faced and solved so far were:&lt;/P&gt;&lt;P&gt;- logs not collected due symlinks used (some symlinks are not acepted in DT). Normally we were able to see it as path to logs was different on autotetected logs page as one you would see on machine.&lt;/P&gt;&lt;P&gt;- logs not collected due wrong match rules. You have to list all combinations (log with numbers, log without numbers, etc.) in one matcher, as inside a matche you habe OR, between matchers you have AND&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Ingrida&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 15:03:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-with-number-hash-character-in-the-file-name-not-uploaded/m-p/227018#M3614</guid>
      <dc:creator>Ingrida</dc:creator>
      <dc:date>2023-10-30T15:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Log Monitoring Classic: log with number / hash character in file name not uploaded</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-with-number-hash-character-in-the-file-name-not-uploaded/m-p/227026#M3615</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;The problem is : I need&amp;nbsp;/myFSLocation/var/log/tomcat/abcd2/abcd2-daily.log to be uploaded. I am baffled. We lost weeks of log monitoring.&amp;nbsp;We spent weeks on this issue&amp;nbsp;&lt;SPAN&gt;217427, with no clear solution. Please refer to this ticket for details as it is quite time consuming to give over and over the same context. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;This log is auto-detected fine&lt;/LI&gt;&lt;LI&gt;Yet when I add a "Log storage configuration" rule (full explicit path) : it does not get uploaded.&lt;/LI&gt;&lt;LI&gt;I found a hack : add in "Custom log source configuration" an over-specifying rule with same absolute path + PG contextualisation (with the added risk of PG ID changing some days)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It was suggested to&amp;nbsp;specify a "Log storage configuration" rule with /myFSLocation/var/log/tomcat/abcd2/abcd#-daily.log&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;then it looks&amp;nbsp;abcd2-daily.log &lt;STRONG&gt;content&lt;/STRONG&gt; is uploaded&lt;/LI&gt;&lt;LI&gt;yet&amp;nbsp;abcd2-daily.log is reported in the UI as &lt;STRONG&gt;not&lt;/STRONG&gt; monitored : confusing given that's the log file which does exist on the FS, and given tha's the lof file we want to monitore&lt;/LI&gt;&lt;LI&gt;abcd#-daily.log is reported as monitored : confusing as there is no such file on the FS&lt;/LI&gt;&lt;LI&gt;abcd#-daily.log is considered as a new source, leading to log event history split from from abcd2-daily.log source&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;FYI : I have some log uploading working fine with non digit including file-name like /myFSLocation/var/log/tomcat/abcde/abcde-daily.log&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 15:27:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-with-number-hash-character-in-the-file-name-not-uploaded/m-p/227026#M3615</guid>
      <dc:creator>gilles_tabary</dc:creator>
      <dc:date>2023-10-30T15:27:09Z</dc:date>
    </item>
  </channel>
</rss>

