Configs

Update the sub-configurations under log

put/configs/log

Request

  • Base URL: https://docs.emqx.com/api/v5
  • URL: https://docs.emqx.com/api/v5/configs/log
  • Auth: one of:
    • HTTP basic
    • bearerAuth (a scheme the document does not define)

Request body

Example request

{
  "console_handler": {
    "overload_kill": {
      "mem_size": "32MB",
      "restart_after": "32s"
    },
    "burst_limit": {
      "window_time": "12m"
    }
  },
  "file_handlers": {
    "$name": {
      "file": "/path/to/file",
      "max_size": "32MB",
      "overload_kill": {
        "mem_size": "32MB",
        "restart_after": "32s"
      },
      "burst_limit": {
        "window_time": "12m"
      }
    }
  }
}

Response

Example response

{
  "console_handler": {
    "overload_kill": {
      "mem_size": "32MB",
      "restart_after": "32s"
    },
    "burst_limit": {
      "window_time": "12m"
    }
  },
  "file_handlers": {
    "$name": {
      "file": "/path/to/file",
      "max_size": "32MB",
      "overload_kill": {
        "mem_size": "32MB",
        "restart_after": "32s"
      },
      "burst_limit": {
        "window_time": "12m"
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.