Get Logger Group

Retrieves information of a specified logger group.

HTTP Request

GET /api/sonar/logger-groups/:guid
Request using cURL
curl -H "Authorization: Bearer <API_KEY>" \
     https://HOSTNAME/api/sonar/logger-groups/0565a218-a78d-43ff-89b6-a9899adcf8c5
Request Parameter
KeyRequiredTypeDescriptionNote
guidOStringLogger group identifier36-characters GUID

Success Response

{
  "logger_group": {
    "guid": "0565a218-a78d-43ff-89b6-a9899adcf8c5",
    "name": "Firewall",
    "description": null,
    "parent_guid": null,
    "created": "2023-10-01 22:20:44+0900",
    "updated": "2023-10-01 22:20:44+0900"
  }
}
  • logger_group (Map): Logger group
    • guid (String): Logger group identifier
    • name (String): Logger group name
    • description (String): Logger group description
    • parent_guid (String): Parent logger group identifier
    • created (String): Creation date and time (yyyy-MM-dd HH:mm:ssZ)
    • updated (String): Last modification date and time (yyyy-MM-dd HH:mm:ssZ)

Error Responses

Identifier is not in valid GUID format

HTTP status code 400

{
  "error_code": "invalid-param-type",
  "error_msg": "guid should be guid type."
}
Logger group is not found

HTTP status code 200

{
  "logger_group": null
}