<?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: Display count of log content with content message and time in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/Display-count-of-log-content-with-content-message-and-time/m-p/276910#M1326</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/21657"&gt;@p_devulapalli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the input.&lt;/P&gt;&lt;P&gt;Its showing the content, count ,day and month.&lt;/P&gt;&lt;P&gt;If you see the below snip, the red ones are same content and blue ones are same content. So can we sum it for a day so that it will show 2 contents with count as 4 each in this case.&lt;/P&gt;&lt;P&gt;Here it is showing separate count as there is small difference in microsecond&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jun 2025 13:17:23 GMT</pubDate>
    <dc:creator>Shal</dc:creator>
    <dc:date>2025-06-26T13:17:23Z</dc:date>
    <item>
      <title>Display count of log content with content message and time</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Display-count-of-log-content-with-content-message-and-time/m-p/276849#M1319</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;Can I get a query (DQL) that can display the results in the below manner for a particular log file&amp;nbsp;&lt;/P&gt;
&lt;P&gt;example: D:/logs/log.txt&lt;/P&gt;
&lt;P&gt;I need different content and its count based on date or time selection.&lt;/P&gt;
&lt;TABLE width="774"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="269"&gt;&lt;STRONG&gt;content&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="175"&gt;&lt;STRONG&gt;count&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="330"&gt;&lt;STRONG&gt;date/time&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;error: abc&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;5th may&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;error:def&lt;/TD&gt;
&lt;TD&gt;3&lt;/TD&gt;
&lt;TD&gt;5th may&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;error: ghi&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;6th may&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 14:54:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Display-count-of-log-content-with-content-message-and-time/m-p/276849#M1319</guid>
      <dc:creator>Shal</dc:creator>
      <dc:date>2025-05-09T14:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Display count of log content with content message and time</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Display-count-of-log-content-with-content-message-and-time/m-p/276895#M1325</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/89198"&gt;@Shal&lt;/a&gt;&amp;nbsp;Here is an example query you can try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch logs
| fieldsAdd day = getDayOfMonth(timestamp), month = getMonth(timestamp)
| filter log.source == "D:/logs/logs.txt"
| summarize count = count(), by: { day, month, content }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 00:46:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Display-count-of-log-content-with-content-message-and-time/m-p/276895#M1325</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2025-05-12T00:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Display count of log content with content message and time</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Display-count-of-log-content-with-content-message-and-time/m-p/276910#M1326</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/21657"&gt;@p_devulapalli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the input.&lt;/P&gt;&lt;P&gt;Its showing the content, count ,day and month.&lt;/P&gt;&lt;P&gt;If you see the below snip, the red ones are same content and blue ones are same content. So can we sum it for a day so that it will show 2 contents with count as 4 each in this case.&lt;/P&gt;&lt;P&gt;Here it is showing separate count as there is small difference in microsecond&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 13:17:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Display-count-of-log-content-with-content-message-and-time/m-p/276910#M1326</guid>
      <dc:creator>Shal</dc:creator>
      <dc:date>2025-06-26T13:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display count of log content with content message and time</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Display-count-of-log-content-with-content-message-and-time/m-p/276915#M1327</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/89198"&gt;@Shal&lt;/a&gt;&amp;nbsp;that's because of the timestamp in the content, you just need to find a way to clean/split up the content and them summarize to get the expected result&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 06:59:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Display-count-of-log-content-with-content-message-and-time/m-p/276915#M1327</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2025-05-12T06:59:03Z</dc:date>
    </item>
  </channel>
</rss>

