<?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 viewer (Logs Classic) : grepping log in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/242106#M337</link>
    <description>&lt;P&gt;To be as specific as possible, the search I am after is "sub-string" search&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2024 15:10:43 GMT</pubDate>
    <dc:creator>gilles_tabary</dc:creator>
    <dc:date>2024-04-08T15:10:43Z</dc:date>
    <item>
      <title>Log viewer (Logs Classic) : grepping log</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/242097#M336</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;On Managed&amp;nbsp;1.286.86.20240314-161238,&amp;nbsp;Log viewer (Logs Classic). I have some log lines like :&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;240408 15:35:42,538 [https-jsse-nio-x.y.z.t-8443-exec-72] [xx1234] [1234567890,abcdef] INFO  c.b.a.w.c.f.LoggingRequestAuditFilter - GET /xxx/v1/ws/products/zt123456 - execution time: 4ms - Status 200&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I must be doing something wrong somehow, because I cannot find how to search all lines containing for example string [&lt;EM&gt;bcde&lt;/EM&gt;] or [&lt;EM&gt;t123&lt;/EM&gt;] or [&lt;EM&gt;45678&lt;/EM&gt;]. I looked in the doc&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/log-monitoring-log-viewer" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/log-monitoring-log-viewer&lt;/A&gt;&amp;nbsp;yet, no way. Even in advanced mode.&amp;nbsp;This is such a basic need : "search for a string in a log file" that I must be missing something extremely trivial. Can someone help ?&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 08:56:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/242097#M336</guid>
      <dc:creator>gilles_tabary</dc:creator>
      <dc:date>2024-10-18T08:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Log viewer (Logs Classic) : grepping log</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/242106#M337</link>
      <description>&lt;P&gt;To be as specific as possible, the search I am after is "sub-string" search&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 15:10:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/242106#M337</guid>
      <dc:creator>gilles_tabary</dc:creator>
      <dc:date>2024-04-08T15:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Log viewer (Logs Classic) : grepping log</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/242129#M338</link>
      <description>&lt;P&gt;Have u tried ?&lt;/P&gt;&lt;P&gt;matchesPhrase(content, "&lt;EM&gt;45678&lt;/EM&gt;")&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 02:57:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/242129#M338</guid>
      <dc:creator>Suryanto_1</dc:creator>
      <dc:date>2024-04-09T02:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Log viewer (Logs Classic) : grepping log</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/242157#M339</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried matchesPhrase() here (Managed), the predicate is not recognised, even in advanced mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AFAIU matchesPhrase() is available in&amp;nbsp;&lt;/SPAN&gt;DQL in logs with &lt;STRONG&gt;Dynatrace on Grail&lt;/STRONG&gt;, i.e. not on Managed &lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-log-processing-matcher" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/lma-log-processing-matcher.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Any other lead ?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 08:06:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/242157#M339</guid>
      <dc:creator>gilles_tabary</dc:creator>
      <dc:date>2024-04-09T08:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Log viewer (Logs Classic) : grepping log</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/242159#M340</link>
      <description>&lt;P&gt;Log Classic allows you to search only by tokens, so you need to search for full words, separated by punctuation, spaces, etc. You can also search with beginning of a token, if you add asterisk.&lt;BR /&gt;&lt;BR /&gt;Searching by any substring is only possible in logs powered by Grail. Then you need to use `contains` function. The suggested matchesPhrase() function works also on tokens, similarly to Classic (though, there are some differences).&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 08:15:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/242159#M340</guid>
      <dc:creator>marcin_okraszew</dc:creator>
      <dc:date>2024-04-09T08:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Log viewer (Logs Classic) : grepping log</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/242160#M341</link>
      <description>&lt;P&gt;That's an information : It is not possible to grep in Log Viewer Classic, Managed ! People here starts doing funny things to just be able to grep their logs. Which defeat quite a bit of the interest.&lt;/P&gt;&lt;P&gt;Log analysing wise, it looks to me like a&amp;nbsp;&lt;EM&gt;unexpectable&lt;/EM&gt; functionality loss (or regression) between Log V1 to Log V2. People here are baffled, thinking of maybe other solutions.&lt;/P&gt;&lt;P&gt;Thanks for feedack.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 08:42:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/242160#M341</guid>
      <dc:creator>gilles_tabary</dc:creator>
      <dc:date>2024-04-09T08:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Log viewer (Logs Classic) : grepping log</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/243206#M342</link>
      <description>&lt;P&gt;For the record, these search criteria won't return any line (on Managed) :&lt;/P&gt;&lt;P&gt;content="123456789" # missing token trailing 0&lt;BR /&gt;content="234567890" # missing token leading 1&lt;BR /&gt;content="*234567890" # leading wild-card not processed&lt;BR /&gt;content="*23456789*"&amp;nbsp;# leading wild-card not processed&lt;BR /&gt;content="23456789*" # trailing wild.card processed fine, yet missing token leading 1 (not replaceable by wildcard)&lt;/P&gt;&lt;P&gt;this will return lines :&lt;/P&gt;&lt;P&gt;content="123456*"&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 14:39:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/243206#M342</guid>
      <dc:creator>gilles_tabary</dc:creator>
      <dc:date>2024-04-18T14:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Log viewer (Logs Classic) : grepping log</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/243208#M343</link>
      <description>&lt;P&gt;How to search in the content when first line in the log file has "ORA".&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 14:54:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-viewer-Logs-Classic-grepping-log/m-p/243208#M343</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-04-18T14:54:14Z</dc:date>
    </item>
  </channel>
</rss>

