Download the log file including all logs of an Edge Device in a .tar file format. For this, you require the Device ID as unique identifier of the Edge Device and the log ID as unique identifier of the Edge Device's logs:
curl -i -X GET \
-H "Authorization:<your-authorization-token>" \
'https://<your-iem-url>/portal/api/v1/devices/<device-id>/logs/<log-id>'
A successful response looks like this:
{
"data": "https://165.218.200.31:9443/pp/PortalCache/assets/links/1bf82288fd48459d807a46f5a3397015/djlogtest.20210831121158_Logs.tar.gz"
}