List logs of an Edge Device - Manual - Industrial Edge - Industrial Edge - Industrial Edge - Documentation of Industrial Edge APIs - CLI tools - Industrial Edge - References - APIs

Industrial Edge Platform Operation - APIs & References

Product
Industrial Edge
Edition
12/2024
Language
en-US (original)

Use the following request to list all logs of a specific Edge Device that is uniquely identified by its ID:

curl -i -X GET \
-H "Authorization:<your-authorization-token>" \
'https://<your-iem-url>/portal/api/v1/devices/<device-id>/logs/'

A successful response looks like this for example:

{
    "data": {
        "logs": [
            {
                "logId": "9a8d666ce16643da86270a180936aece",
                "timeStamp": 1630411919060
            }
        ]
    }
}