<?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: Logs API in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246617#M3151</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you share more details as which API are you using? Or which error are you getting?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2024 10:29:04 GMT</pubDate>
    <dc:creator>AntonPineiro</dc:creator>
    <dc:date>2024-05-27T10:29:04Z</dc:date>
    <item>
      <title>Logs API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246615#M3150</link>
      <description>&lt;P&gt;Hello, Im new to Dynatrace and im currently facing problems when trying to get the logs through the API, at first i thought i was a problem with the token, but now that i have a oauth token, it's still not working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone help?&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 07:24:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246615#M3150</guid>
      <dc:creator>rouaa</dc:creator>
      <dc:date>2024-05-28T07:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Logs API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246617#M3151</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you share more details as which API are you using? Or which error are you getting?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 10:29:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246617#M3151</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2024-05-27T10:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Logs API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246618#M3152</link>
      <description>&lt;P&gt;curl -X GET "&lt;A href="https://{environmentid}.live.dynatrace.com/api/v2/logs/export?pageSize=5000" target="_blank"&gt;https://{environmentid}.live.dynatrace.com/api/v2/logs/export?pageSize=5000&lt;/A&gt;" \&lt;BR /&gt;-H "Authorization: Bearer &amp;lt;oauth token&amp;gt;"&lt;/P&gt;&lt;P&gt;and even with Api-token it still doesnt work, this is the rror:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"error"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"code"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;401&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Couldn't resolve Platform token introspection. Endpoint returned 401. Token has expired, is inactive or user is inactive. IssueId: QJIRX3236BE2E5PV. Token identifier: dt0s02.ZBYZBBIB"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}i just checked the token is active in Dynatrace&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 27 May 2024 10:31:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246618#M3152</guid>
      <dc:creator>rouaa</dc:creator>
      <dc:date>2024-05-27T10:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Logs API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246640#M3154</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would raise a support ticket to confirm why token is marked as expired, if it not expired.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 13:57:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246640#M3154</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2024-05-27T13:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Logs API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246646#M3155</link>
      <description>&lt;P&gt;AFAIK you need an API token for settings 2.0 , you don't need a Bearer.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PacoPorro_0-1716821479170.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/20125i2D576DD82B5E45AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PacoPorro_0-1716821479170.png" alt="PacoPorro_0-1716821479170.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 14:51:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246646#M3155</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2024-05-27T14:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Logs API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246647#M3156</link>
      <description>&lt;P&gt;i have oauth token already generated but my problem is with the command&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 14:56:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246647#M3156</guid>
      <dc:creator>rouaa</dc:creator>
      <dc:date>2024-05-27T14:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Logs API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246652#M3158</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/40713"&gt;@PacoPorro&lt;/a&gt;&amp;nbsp;has pointed you to root cause.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 15:26:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246652#M3158</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2024-05-27T15:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Logs API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246654#M3159</link>
      <description>&lt;P&gt;Hello, the token he's talking about is already generated but isnt giving me access&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 15:42:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246654#M3159</guid>
      <dc:creator>rouaa</dc:creator>
      <dc:date>2024-05-27T15:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Logs API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246681#M3160</link>
      <description>&lt;P class=""&gt;To generate an access token&lt;/P&gt;&lt;DIV class=""&gt;&lt;OL class=""&gt;&lt;LI&gt;Go to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Access Tokens&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Select&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Generate new token&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Enter a name for your token.&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Select read.logs scope for the token.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Select&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Generate token&lt;/STRONG&gt;.&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 May 2024 06:14:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Logs-API/m-p/246681#M3160</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2024-05-28T06:14:05Z</dc:date>
    </item>
  </channel>
</rss>

