agent
  1. Logs
agent
  • Authentication
  • Logs
    • Get Log
      GET
    • Clear Logs
      POST
  • Database
    • Tables
      • Create Table
      • Delete Table
    • Create Database
      POST
    • Delete Database
      DELETE
    • Get Databases
      GET
  • User
    • Create User
      POST
    • Delete User
      DELETE
  • System
    • Get System Info
      GET
    • Run System Action
      POST
    • Install Database
      POST
    • Is Database Installed
      GET
  • Schema
    • Create Schema
      POST
    • Delete Schema
      DELETE
    • Get Schemas
      GET
  1. Logs

Get Log

GET
/logs/get
Maintainer:Not configured

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://10.11.53.2:2885/api/v1-alpha/logs/get?log_file=install_mariadb_20250802_001246.log' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "content": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n  libdbd-mariadb-perl libmariadb3 mariadb-client mariadb-client-core\n  mariadb-common mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lz4\n  mariadb-plugin-provider-lzma mariadb-plugin-provider-lzo\n  mariadb-plugin-provider-snappy mariadb-server-core\nSuggested packages:\n  mailx mariadb-test netcat-openbsd\nThe following NEW packages will be installed:\n  libdbd-mariadb-perl libmariadb3 mariadb-client mariadb-client-core\n  mariadb-common mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lz4\n  mariadb-plugin-provider-lzma mariadb-plugin-provider-lzo\n  mariadb-plugin-provider-snappy mariadb-server mariadb-server-core\nPreconfiguring packages ...\n0 upgraded, 12 newly installed, 0 to remove and 78 not upgraded.\nNeed to get 0 B/15.9 MB of archives.\nAfter this operation, 185 MB of additional disk space will be used.\nSelecting previously unselected package mariadb-common.\n(Reading database ... \n(Reading database ... 5%\n(Reading database ... 10%\n(Reading database ... 15%\n(Reading database ... 20%\n(Reading database ... 25%\n(Reading database ... 30%\n(Reading database ... 35%\n(Reading database ... 40%\n(Reading database ... 45%\n(Reading database ... 50%\n(Reading database ... 55%\n(Reading database ... 60%\n(Reading database ... 65%\n(Reading database ... 70%\n(Reading database ... 75%\n(Reading database ... 80%\n(Reading database ... 85%\n(Reading database ... 90%\n(Reading database ... 95%\n(Reading database ... 100%\n(Reading database ... 21389 files and directories currently installed.)\nPreparing to unpack .../mariadb-common_1%3a10.11.11-0+deb12u1_all.deb ...\nUnpacking mariadb-common (1:10.11.11-0+deb12u1) ...\nSelecting previously unselected package libmariadb3:amd64.\nPreparing to unpack .../libmariadb3_1%3a10.11.11-0+deb12u1_amd64.deb ...\nUnpacking libmariadb3:amd64 (1:10.11.11-0+deb12u1) ...\nSelecting previously unselected package mariadb-client-core.\nPreparing to unpack .../mariadb-client-core_1%3a10.11.11-0+deb12u1_amd64.deb ...\nUnpacking mariadb-client-core (1:10.11.11-0+deb12u1) ...\nSelecting previously unselected package mariadb-client.\nPreparing to unpack .../mariadb-client_1%3a10.11.11-0+deb12u1_amd64.deb ...\nUnpacking mariadb-client (1:10.11.11-0+deb12u1) ...\nSelecting previously unselected package mariadb-server-core.\nPreparing to unpack .../mariadb-server-core_1%3a10.11.11-0+deb12u1_amd64.deb ...\nUnpacking mariadb-server-core (1:10.11.11-0+deb12u1) ...\nSetting up mariadb-common (1:10.11.11-0+deb12u1) ...\nupdate-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode\nSelecting previously unselected package mariadb-server.\n(Reading database ... \n(Reading database ... 5%\n(Reading database ... 10%\n(Reading database ... 15%\n(Reading database ... 20%\n(Reading database ... 25%\n(Reading database ... 30%\n(Reading database ... 35%\n(Reading database ... 40%\n(Reading database ... 45%\n(Reading database ... 50%\n(Reading database ... 55%\n(Reading database ... 60%\n(Reading database ... 65%\n(Reading database ... 70%\n(Reading database ... 75%\n(Reading database ... 80%\n(Reading database ... 85%\n(Reading database ... 90%\n(Reading database ... 95%\n(Reading database ... 100%\n(Reading database ... 21633 files and directories currently installed.)\nPreparing to unpack .../0-mariadb-server_1%3a10.11.11-0+deb12u1_amd64.deb ...\nUnpacking mariadb-server (1:10.11.11-0+deb12u1) ...\nSelecting previously unselected package libdbd-mariadb-perl.\nPreparing to unpack .../1-libdbd-mariadb-perl_1.22-1+b1_amd64.deb ...\nUnpacking libdbd-mariadb-perl (1.22-1+b1) ...\nSelecting previously unselected package mariadb-plugin-provider-bzip2.\nPreparing to unpack .../2-mariadb-plugin-provider-bzip2_1%3a10.11.11-0+deb12u1_amd64.deb ...\nUnpacking mariadb-plugin-provider-bzip2 (1:10.11.11-0+deb12u1) ...\nSelecting previously unselected package mariadb-plugin-provider-lz4.\nPreparing to unpack .../3-mariadb-plugin-provider-lz4_1%3a10.11.11-0+deb12u1_amd64.deb ...\nUnpacking mariadb-plugin-provider-lz4 (1:10.11.11-0+deb12u1) ...\nSelecting previously unselected package mariadb-plugin-provider-lzma.\nPreparing to unpack .../4-mariadb-plugin-provider-lzma_1%3a10.11.11-0+deb12u1_amd64.deb ...\nUnpacking mariadb-plugin-provider-lzma (1:10.11.11-0+deb12u1) ...\nSelecting previously unselected package mariadb-plugin-provider-lzo.\nPreparing to unpack .../5-mariadb-plugin-provider-lzo_1%3a10.11.11-0+deb12u1_amd64.deb ...\nUnpacking mariadb-plugin-provider-lzo (1:10.11.11-0+deb12u1) ...\nSelecting previously unselected package mariadb-plugin-provider-snappy.\nPreparing to unpack .../6-mariadb-plugin-provider-snappy_1%3a10.11.11-0+deb12u1_amd64.deb ...\nUnpacking mariadb-plugin-provider-snappy (1:10.11.11-0+deb12u1) ...\nSetting up libmariadb3:amd64 (1:10.11.11-0+deb12u1) ...\nSetting up mariadb-server-core (1:10.11.11-0+deb12u1) ...\nInvalid file '/usr/sbin/mysqld' for capability operation\nSetcap failed on /usr/sbin/mysqld, required with --memlock if insufficent RLIMIT_MEMLOCK\nSetting up mariadb-client-core (1:10.11.11-0+deb12u1) ...\nSetting up libdbd-mariadb-perl (1.22-1+b1) ...\nSetting up mariadb-client (1:10.11.11-0+deb12u1) ...\nSetting up mariadb-server (1:10.11.11-0+deb12u1) ...\nCreated symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.\n\nSetting up mariadb-plugin-provider-bzip2 (1:10.11.11-0+deb12u1) ...\nSetting up mariadb-plugin-provider-lzma (1:10.11.11-0+deb12u1) ...\nSetting up mariadb-plugin-provider-lzo (1:10.11.11-0+deb12u1) ...\nSetting up mariadb-plugin-provider-lz4 (1:10.11.11-0+deb12u1) ...\nSetting up mariadb-plugin-provider-snappy (1:10.11.11-0+deb12u1) ...\nProcessing triggers for man-db (2.11.2-2) ...\nProcessing triggers for libc-bin (2.36-9+deb12u8) ...\nProcessing triggers for mariadb-server (1:10.11.11-0+deb12u1) ...\n"
}
Modified at 2025-08-02 00:41:12
Previous
Authentication
Next
Clear Logs
Built with