<?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: Ingesting log .net on kubernetes in Container platforms</title>
    <link>https://community.dynatrace.com/t5/Container-platforms/Ingesting-log-net-on-Kubernetes/m-p/239222#M2274</link>
    <description>&lt;P&gt;Don't work, i make the query,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ellery_0-1709813259052.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18150i55CA447A6F5BD554/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ellery_0-1709813259052.png" alt="Ellery_0-1709813259052.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I thinks that logs dont ingest into dynatrace logs tables, how i can verify thas logs was ingested into dynatrace ?&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2024 12:09:24 GMT</pubDate>
    <dc:creator>Ellery</dc:creator>
    <dc:date>2024-03-07T12:09:24Z</dc:date>
    <item>
      <title>Ingesting log .net on Kubernetes</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Ingesting-log-net-on-Kubernetes/m-p/238897#M2272</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hi, my head is splitting trying to set up log ingestion. I'm working on Azure Kubernetes with Dockerized containers. This retrieves a log using log4net, which is created at the path: /app/logs/application.log. The log exists,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;# ls -la /app/logs
total 12
drwxr-xr-x 2 root root 4096 Mar  4 14:43 .
drwxr-xr-x 1 root root 4096 Mar  4 14:43 ..
-rw-r--r-- 1 root root 3204 Mar  4 15:43 application.log&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this woks ok,&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="markup"&gt;# tail -f /app/logs/application.log
2024-03-04 14:43:03,232 [11] INFO  ACHS.FirmaDigital.Api.Program - [!dt trace_id=ffa3e2491e89ce51e045d18ded80461b,span_id=843e41f18ab7f063,trace_sampled=true] Application - Main is invoked
2024-03-04 14:43:04,944 [11] ERROR ACHS.FirmaDigital.Api.Program - [!dt trace_id=ffa3e2491e89ce51e045d18ded80461b,span_id=843e41f18ab7f063,trace_sampled=true] [Firmar][Web firmadora] No se encontro la web firmante.
2024-03-04 14:43:05,136 [11] INFO  ACHS.FirmaDigital.Api.Program - [!dt trace_id=ffa3e2491e89ce51e045d18ded80461b,span_id=843e41f18ab7f063,trace_sampled=true] [Firmar][INICIO][17427955-1] Se firmaran 2
2024-03-04 14:43:09,545 [4] INFO  ACHS.FirmaDigital.Api.Program - [!dt trace_id=ffa3e2491e89ce51e045d18ded80461b,span_id=22958368528b0b5c,trace_sampled=true] [Proceso de firma][17427955-1] Tiempo total de ejecución
2024-03-04 14:43:09,650 [4] WARN  ACHS.FirmaDigital.Api.Program - [!dt trace_id=ffa3e2491e89ce51e045d18ded80461b,span_id=22958368528b0b5c,trace_sampled=true] [SGP][17427955-1][Info] Se prepara para enviar información a SGP
2024-03-04 14:43:09,732 [4] INFO  ACHS.FirmaDigital.Api.Program - [!dt trace_id=ffa3e2491e89ce51e045d18ded80461b,span_id=22958368528b0b5c,trace_sampled=true] [Firma][17427955-1] Documentos firmados, enviando a digitalización.
2024-03-04 14:43:09,839 [4] INFO  ACHS.FirmaDigital.Api.Program - [!dt trace_id=ffa3e2491e89ce51e045d18ded80461b,span_id=22958368528b0b5c,trace_sampled=true] [Firmar][FIN][17427955-1] Se completo el proceso de firma.
2024-03-04 14:43:09,843 [4] INFO  API_FirmaDigital2.Controllers.AdmisionController - [!dt trace_id=ffa3e2491e89ce51e045d18ded80461b,span_id=22958368528b0b5c,trace_sampled=true] [Firmar][FIN][17427955-1]
2024-03-04 15:43:26,582 [29] ERROR ACHS.FirmaDigital.Api.Program - [!dt trace_id=cc674496662e9ddfa3528b34e4f87dd0,span_id=28c6324e98a572f0,trace_sampled=true] [Firmar][Web firmadora] No se encontro la web firmante.
2024-03-04 15:43:26,583 [29] INFO  ACHS.FirmaDigital.Api.Program - [!dt trace_id=cc674496662e9ddfa3528b34e4f87dd0,span_id=28c6324e98a572f0,trace_sampled=true] [Firmar][INICIO][17427955-1] Se firmaran 2
2024-03-04 15:43:26,771 [30] INFO  ACHS.FirmaDigital.Api.Program - [!dt trace_id=cc674496662e9ddfa3528b34e4f87dd0,span_id=b44df715bb86f809,trace_sampled=true] [Proceso de firma][17427955-1] Tiempo total de ejecución
2024-03-04 15:43:26,775 [30] WARN  ACHS.FirmaDigital.Api.Program - [!dt trace_id=cc674496662e9ddfa3528b34e4f87dd0,span_id=b44df715bb86f809,trace_sampled=true] [SGP][17427955-1][Info] Se prepara para enviar información a SGP
2024-03-04 15:43:26,776 [30] INFO  ACHS.FirmaDigital.Api.Program - [!dt trace_id=cc674496662e9ddfa3528b34e4f87dd0,span_id=b44df715bb86f809,trace_sampled=true] [Firma][17427955-1] Documentos firmados, enviando a digitalización.
2024-03-04 15:43:26,856 [30] INFO  ACHS.FirmaDigital.Api.Program - [!dt trace_id=cc674496662e9ddfa3528b34e4f87dd0,span_id=b44df715bb86f809,trace_sampled=true] [Firmar][FIN][17427955-1] Se completo el proceso de firma.
2024-03-04 15:43:26,856 [30] INFO  API_FirmaDigital2.Controllers.AdmisionController - [!dt trace_id=cc674496662e9ddfa3528b34e4f87dd0,span_id=b44df715bb86f809,trace_sampled=true] [Firmar][FIN][17427955-1]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and I've set up the rules in Dynatrace."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;custom log&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ellery_2-1709578388993.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18066i2B62D479AA844948/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ellery_2-1709578388993.png" alt="Ellery_2-1709578388993.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;rules ingest&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ellery_3-1709578462865.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18067i02C94A03366C1B18/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ellery_3-1709578462865.png" alt="Ellery_3-1709578462865.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, i have a configurated in a dynatrace but in .json :&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;cat /opt/dynatrace/oneagent/agent/conf/securityRulesLoganalytics.json&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;# cat /opt/dynatrace/oneagent/agent/conf/securityRulesLoganalytics.json
{
  "@version": "1.0.0",
  "allowed-log-paths-configuration": [
    {
       "directory-pattern":"/",
       "file-pattern":"*.pem",
       "action":"EXCLUDE"
    },
    {
       "directory-pattern":"/.ssh/",
       "file-pattern":"*",
       "action":"EXCLUDE"
    },
    {
       "directory-pattern":"/.*/",
       "file-pattern":"*",
       "action":"EXCLUDE"
    },
    {
       "directory-pattern":"/",
       "file-pattern":".*",
       "action":"EXCLUDE"
    },
    {
       "directory-pattern":"^/etc/**/",
       "file-pattern":"*",
       "action":"EXCLUDE"
    },
    {
       "directory-pattern":"^/boot/**/",
       "file-pattern":"*",
       "action":"EXCLUDE"
    },
    {
       "directory-pattern":"^/proc/**/",
       "file-pattern":"*",
       "action":"EXCLUDE"
    },
    {
       "directory-pattern":"^/dev/**/",
       "file-pattern":"*",
       "action":"EXCLUDE"
    },
    {
       "directory-pattern":"^/bin/**/",
       "file-pattern":"*",
       "action":"EXCLUDE"
    },
    {
       "directory-pattern":"^/sbin/**/",
       "file-pattern":"*",
       "action":"EXCLUDE"
    },
    {
       "directory-pattern":"^/usr/**/",
       "file-pattern":"*",
       "action":"EXCLUDE"
    },
    {
      "directory-pattern": "/",
      "file-pattern": "*[-.\\_]log[-.\\_]*",
      "action": "INCLUDE"
    },
    {
      "directory-pattern": "/",
      "file-pattern": "*[-.\\_]log",
      "action": "INCLUDE"
    },
    {
      "directory-pattern": "/",
      "file-pattern": "catalina.out*",
      "action": "INCLUDE"
    },
    {
      "directory-pattern": "/log/",
      "file-pattern": "*",
      "action": "INCLUDE"
    },
    {
      "directory-pattern": "/log/*/",
      "file-pattern": "*",
      "action": "INCLUDE"
    },
    {
      "directory-pattern": "/logs/",
      "file-pattern": "*",
      "action": "INCLUDE"
    },
    {
      "directory-pattern": "/logs/*/",
      "file-pattern": "*",
      "action": "INCLUDE"
    },
    {
      "directory-pattern": "^/var/lib/docker/containers/*/",
      "file-pattern": "*.log",
      "action": "INCLUDE"
    },
    {
      "directory-pattern": "^/var/log/**/",
      "file-pattern": "*",
      "action": "INCLUDE"
    }
  ]
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The configuration from the Dynatrace web interface is not reflected and it cannot find custom logs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ellery_4-1709578847658.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18068i8C44C373EF11C149/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ellery_4-1709578847658.png" alt="Ellery_4-1709578847658.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 09:12:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Ingesting-log-net-on-Kubernetes/m-p/238897#M2272</guid>
      <dc:creator>Ellery</dc:creator>
      <dc:date>2024-03-07T09:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Ingesting log .net on kubernetes</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Ingesting-log-net-on-Kubernetes/m-p/239041#M2273</link>
      <description>&lt;P&gt;i think "INICIO" is not on content.&lt;/P&gt;&lt;PRE&gt;2024-03-04 14:43:05,136 [11] INFO  ACHS.FirmaDigital.Api.Program - [!dt trace_id=ffa3e2491e89ce51e045d18ded80461b,span_id=843e41f18ab7f063,trace_sampled=true] [Firmar][INICIO][17427955-1] Se firmaran 2&lt;/PRE&gt;&lt;P&gt;in this case the content is "Se firmaran 2" inicio is a field on the log. search for "Se firmaran 2" and you gon find this log&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 19:13:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Ingesting-log-net-on-Kubernetes/m-p/239041#M2273</guid>
      <dc:creator>natanael_mendes</dc:creator>
      <dc:date>2024-03-05T19:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Ingesting log .net on kubernetes</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Ingesting-log-net-on-Kubernetes/m-p/239222#M2274</link>
      <description>&lt;P&gt;Don't work, i make the query,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ellery_0-1709813259052.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18150i55CA447A6F5BD554/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ellery_0-1709813259052.png" alt="Ellery_0-1709813259052.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I thinks that logs dont ingest into dynatrace logs tables, how i can verify thas logs was ingested into dynatrace ?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 12:09:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Ingesting-log-net-on-Kubernetes/m-p/239222#M2274</guid>
      <dc:creator>Ellery</dc:creator>
      <dc:date>2024-03-07T12:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ingesting log .net on kubernetes</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Ingesting-log-net-on-Kubernetes/m-p/240779#M2275</link>
      <description>&lt;P&gt;you can filter by the "ingest" field&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 08:41:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Ingesting-log-net-on-Kubernetes/m-p/240779#M2275</guid>
      <dc:creator>natanael_mendes</dc:creator>
      <dc:date>2024-03-22T08:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Ingesting log .net on kubernetes</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Ingesting-log-net-on-Kubernetes/m-p/241119#M2280</link>
      <description>&lt;P&gt;What you means with field "ingest" thats field does't exist into my query.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 14:38:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Ingesting-log-net-on-Kubernetes/m-p/241119#M2280</guid>
      <dc:creator>Ellery</dc:creator>
      <dc:date>2024-03-26T14:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ingesting log .net on Kubernetes</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Ingesting-log-net-on-Kubernetes/m-p/241176#M2286</link>
      <description>&lt;P&gt;Should you be using matchesPhrase instead ?&lt;/P&gt;&lt;P&gt;matchesPhrase(content, "error")&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/observe-and-explore/logs/lma-log-processing-matcher" target="_blank"&gt;https://docs.dynatrace.com/docs/observe-and-explore/logs/lma-log-processing-matcher&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 09:41:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Ingesting-log-net-on-Kubernetes/m-p/241176#M2286</guid>
      <dc:creator>Suryanto_1</dc:creator>
      <dc:date>2024-03-27T09:41:31Z</dc:date>
    </item>
  </channel>
</rss>

