<?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: Is it possible to retrieve a list of logs being monitored on a host using an API? in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Is-it-possible-to-retrieve-a-list-of-logs-being-monitored-on-a/m-p/242144#M3095</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You have &lt;A title="Log Monitoring API" href="https://docs.dynatrace.com/docs/shortlink/api-log-monitoring-v2" target="_blank" rel="noopener"&gt;Log Monitoring API&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2024 06:58:32 GMT</pubDate>
    <dc:creator>AntonPineiro</dc:creator>
    <dc:date>2024-04-09T06:58:32Z</dc:date>
    <item>
      <title>Is it possible to retrieve a list of logs being monitored on a host using an API?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Is-it-possible-to-retrieve-a-list-of-logs-being-monitored-on-a/m-p/242133#M3094</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I couldn't find a way to retrieve a list of monitored log files. Is there an API for this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sangjun&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 06:14:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Is-it-possible-to-retrieve-a-list-of-logs-being-monitored-on-a/m-p/242133#M3094</guid>
      <dc:creator>sjkim</dc:creator>
      <dc:date>2024-04-09T06:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to retrieve a list of logs being monitored on a host using an API?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Is-it-possible-to-retrieve-a-list-of-logs-being-monitored-on-a/m-p/242144#M3095</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You have &lt;A title="Log Monitoring API" href="https://docs.dynatrace.com/docs/shortlink/api-log-monitoring-v2" target="_blank" rel="noopener"&gt;Log Monitoring API&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 06:58:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Is-it-possible-to-retrieve-a-list-of-logs-being-monitored-on-a/m-p/242144#M3095</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2024-04-09T06:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to retrieve a list of logs being monitored on a host using an API?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Is-it-possible-to-retrieve-a-list-of-logs-being-monitored-on-a/m-p/242149#M3096</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;SPAN&gt;AntonPineiro&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your reply,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I mean "only the names of monitored log files"..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SangJun,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 07:23:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Is-it-possible-to-retrieve-a-list-of-logs-being-monitored-on-a/m-p/242149#M3096</guid>
      <dc:creator>sjkim</dc:creator>
      <dc:date>2024-04-09T07:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to retrieve a list of logs being monitored on a host using an API?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Is-it-possible-to-retrieve-a-list-of-logs-being-monitored-on-a/m-p/242171#M3097</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are you in a Grail enabled tenant? Can you use Grail?&lt;/P&gt;&lt;P&gt;I am not sure if that can be done out-of-the-box.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 09:48:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Is-it-possible-to-retrieve-a-list-of-logs-being-monitored-on-a/m-p/242171#M3097</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2024-04-09T09:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to retrieve a list of logs being monitored on a host using an API?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Is-it-possible-to-retrieve-a-list-of-logs-being-monitored-on-a/m-p/244121#M3098</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3678"&gt;@sjkim&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Logs are associated to process instances hence you will need to utilize the entity APIs.&lt;/P&gt;&lt;P&gt;First with &lt;STRONG&gt;/api/v2/entities&lt;/STRONG&gt; &amp;amp; entity type("host") collect all&amp;nbsp;PROCESS_GROUP_INSTANCE ids&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then for each&amp;nbsp;PROCESS_GROUP_INSTANCE id run &lt;STRONG&gt;/api/v2/entities/{entity-id}&amp;nbsp;&lt;/STRONG&gt;and look for&amp;nbsp;&lt;STRONG&gt;logFileStatus&lt;/STRONG&gt; or&amp;nbsp;&lt;STRONG&gt;logSourceState&lt;/STRONG&gt; key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_1-1714221382646.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19465i85DFE8B93C945AF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_1-1714221382646.png" alt="Yosi_Neuman_1-1714221382646.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Yos&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2024 12:38:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Is-it-possible-to-retrieve-a-list-of-logs-being-monitored-on-a/m-p/244121#M3098</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2024-04-27T12:38:16Z</dc:date>
    </item>
  </channel>
</rss>

