<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Specific API unit not working or docs wrong]]></title><description><![CDATA[<p dir="auto">In this doc: <a href="https://docs.cloudron.io/api/download-system-logs" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/api/download-system-logs</a></p>
<p dir="auto">its written:</p>
<pre><code>Systemd unit name (e.g., box, nginx, mysql).
</code></pre>
<p dir="auto">however:</p>
<pre><code># curl -s "https://my.***.nl/api/v1/system/logs/nginx?access_token=***" | head -5
{
  "status": "Bad Request",
  "message": "No such unit 'nginx'"
}

# curl -s "https://my.***.nl/api/v1/system/logs/box?access_token=***" | head -5
{"realtimeTimestamp":1774683967027000,"message":"apphealthmonitor: setHealth: 3028ad69-1c5f-44c7-ae4c-f61a3f194df3 (***redacted***) waiting for 1186.973 to update health","source":"box"}

# curl -s "https://my.***.nl/api/v1/system/logs/mysql?access_token=***" | head -5
{
  "status": "Bad Request",
  "message": "No such unit 'mysql'"
}
</code></pre>
<p dir="auto">Because of the fact that Cloudron is not logging any 'failed logins' in the box.log (except succeeded) I need to extract them from the NGINX logs but then the API must work.<br />
p.s.: the stream version does work but is not really suitable</p>
]]></description><link>https://forum.cloudron.io/topic/15317/specific-api-unit-not-working-or-docs-wrong</link><generator>RSS for Node</generator><lastBuildDate>Wed, 07 Oct 2026 18:46:26 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15317.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Mar 2026 08:00:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Specific API unit not working or docs wrong on Sun, 29 Mar 2026 06:40:13 GMT]]></title><description><![CDATA[<p dir="auto">So for services like nginx or so you have to use the services API <a href="https://docs.cloudron.io/api/download-service-logs" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/api/download-service-logs</a></p>
<p dir="auto">The logs used to served up under the system API namespace but have moved to services some time ago. I will update the docs to not talk about those other services in the systems route.</p>
]]></description><link>https://forum.cloudron.io/post/122654</link><guid isPermaLink="true">https://forum.cloudron.io/post/122654</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Sun, 29 Mar 2026 06:40:13 GMT</pubDate></item></channel></rss>