Get stdout queue
    • Dark
      Light
    • PDF

    Get stdout queue

    • Dark
      Light
    • PDF

    Article summary

    Get
    /api/v1/stdout.queue

    Retrieves last 1000 lines of server logs

    Permissions required: view-logs

    Header parameters
    X-Auth-Token
    stringRequired

    The authToken of the authenticated user.

    ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
    X-User-Id
    stringRequired

    The userId of the authenticated user.

    ExamplerbAXPnMktTFbNpwtJ
    Responses
    200

    OK

    Success
    {
      "queue": [
        {
          "id": "logid-0",
          "string": "LocalStore: store created at \n",
          "ts": "2024-01-26T13:16:11.945Z"
        },
        {
          "id": "logid-1",
          "string": "LocalStore: store created at \n",
          "ts": "2024-01-26T13:16:11.946Z"
        },
        {
          "id": "logid-2",
          "string": "LocalStore: store created at \n",
          "ts": "2024-01-26T13:16:11.947Z"
        },
        {
          "id": "logid-3",
          "string": "{\"level\":40,\"time\":\"2024-01-26T13:16:12.803Z\",\"pid\":1,\"hostname\":\"cb52a01481fa\",\"name\":\"VoIPService\",\"msg\":\"Voip is not enabled. Cant start the service\"}\n",
          "ts": "2024-01-26T13:16:12.804Z"
        },
        {
          "id": "logid-4",
          "string": "{\"level\":51,\"time\":\"2024-01-26T13:16:16.856Z\",\"pid\":1,\"hostname\":\"cb52a01481fa\",\"name\":\"Migrations\",\"msg\":\"Not migrating, already at version 304\"}\n",
          "ts": "2024-01-26T13:16:16.856Z"
        },
        {
          "id": "logid-5",
          "string": "[2024-01-26T13:16:16.929Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/BROKER: Moleculer v0.14.31 is starting...\n",
          "ts": "2024-01-26T13:16:16.929Z"
        },
        {
          "id": "logid-6",
          "string": "[2024-01-26T13:16:16.929Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/BROKER: Namespace: \n",
          "ts": "2024-01-26T13:16:16.929Z"
        },
        {
          "id": "logid-7",
          "string": "[2024-01-26T13:16:16.929Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/BROKER: Node ID: 5da8aab5-e32e-4a0a-b53e-62b027b331cf\n",
          "ts": "2024-01-26T13:16:16.930Z"
        },
        {
          "id": "logid-8",
          "string": "[2024-01-26T13:16:16.931Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/REGISTRY: Strategy: RoundRobinStrategy\n",
          "ts": "2024-01-26T13:16:16.931Z"
        },
        {
          "id": "logid-9",
          "string": "[2024-01-26T13:16:16.932Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/REGISTRY: Discoverer: LocalDiscoverer\n",
          "ts": "2024-01-26T13:16:16.932Z"
        },
        {
          "id": "logid-10",
          "string": "[2024-01-26T13:16:16.933Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/BROKER: Serializer: JSONSerializer\n",
          "ts": "2024-01-26T13:16:16.933Z"
        },
        {
          "id": "logid-11",
          "string": "[2024-01-26T13:16:16.965Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/BROKER: Validator: FastestValidator\n",
          "ts": "2024-01-26T13:16:16.965Z"
        },
        {
          "id": "logid-12",
          "string": "[2024-01-26T13:16:16.968Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/BROKER: Registered 13 middleware(s).\n",
          "ts": "2024-01-26T13:16:16.968Z"
        },
        {
          "id": "logid-13",
          "string": "[2024-01-26T13:16:16.970Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/BROKER: Transporter: TcpTransporter\n",
          "ts": "2024-01-26T13:16:16.970Z"
        },
        {
          "id": "logid-14",
          "string": "{\"level\":51,\"time\":\"2024-01-26T13:16:17.015Z\",\"pid\":1,\"hostname\":\"cb52a01481fa\",\"name\":\"DatabaseWatcher\",\"msg\":\"Using change streams\"}\n",
          "ts": "2024-01-26T13:16:17.016Z"
        },
        {
          "id": "logid-15",
          "string": "[2024-01-26T13:16:17.031Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/TRANSIT: Connecting to the transporter...\n",
          "ts": "2024-01-26T13:16:17.032Z"
        },
        {
          "id": "logid-16",
          "string": "[2024-01-26T13:16:17.261Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/TRANSPORTER: TCP server is listening on port 32911\n",
          "ts": "2024-01-26T13:16:17.262Z"
        },
        {
          "id": "logid-17",
          "string": "[2024-01-26T13:16:17.263Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/TRANSPORTER: UDP Discovery is disabled.\n",
          "ts": "2024-01-26T13:16:17.263Z"
        },
        {
          "id": "logid-18",
          "string": "[2024-01-26T13:16:17.263Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/TRANSPORTER: TCP Transporter started.\n",
          "ts": "2024-01-26T13:16:17.264Z"
        },
        {
          "id": "logid-19",
          "string": "[2024-01-26T13:16:17.786Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/REGISTRY: '$node' service is registered.\n",
          "ts": "2024-01-26T13:16:17.787Z"
        },
        {
          "id": "logid-20",
          "string": "[2024-01-26T13:16:17.788Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/REGISTRY: 'matrix' service is registered.\n",
          "ts": "2024-01-26T13:16:17.788Z"
        },
        {
          "id": "logid-21",
          "string": "[2024-01-26T13:16:17.790Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/$NODE: Service '$node' started.\n",
          "ts": "2024-01-26T13:16:17.791Z"
        },
        {
          "id": "logid-22",
          "string": "[2024-01-26T13:16:17.791Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/MATRIX: Service 'matrix' started.\n",
          "ts": "2024-01-26T13:16:17.791Z"
        },
        {
          "id": "logid-23",
          "string": "[2024-01-26T13:16:17.793Z] INFO  5da8aab5-e32e-4a0a-b53e-62b027b331cf/BROKER: ✔ ServiceBroker with 2 service(s) started successfully in 788ms.\n",
          "ts": "2024-01-26T13:16:17.793Z"
        },
        {
          "id": "logid-24",
          "string": "+----------------------------------------------+\n",
          "ts": "2024-01-26T13:16:18.723Z"
        },
        {
          "id": "logid-25",
          "string": "|                SERVER RUNNING                |\n",
          "ts": "2024-01-26T13:16:18.723Z"
        },
        {
          "id": "logid-26",
          "string": "+----------------------------------------------+\n",
          "ts": "2024-01-26T13:16:18.724Z"
        },
        {
          "id": "logid-27",
          "string": "|                                              |\n",
          "ts": "2024-01-26T13:16:18.726Z"
        },
        {
          "id": "logid-28",
          "string": "|  Rocket.Chat Version: 6.5.3                  |\n",
          "ts": "2024-01-26T13:16:18.726Z"
        },
        {
          "id": "logid-29",
          "string": "|       NodeJS Version: 14.21.3 - x64          |\n",
          "ts": "2024-01-26T13:16:18.726Z"
        },
        {
          "id": "logid-30",
          "string": "|      MongoDB Version: 5.0.23                 |\n",
          "ts": "2024-01-26T13:16:18.726Z"
        },
        {
          "id": "logid-31",
          "string": "|       MongoDB Engine: wiredTiger             |\n",
          "ts": "2024-01-26T13:16:18.726Z"
        },
        {
          "id": "logid-32",
          "string": "|             Platform: linux                  |\n",
          "ts": "2024-01-26T13:16:18.726Z"
        },
        {
          "id": "logid-33",
          "string": "|         Process Port: 3000                   |\n",
          "ts": "2024-01-26T13:16:18.726Z"
        },
        {
          "id": "logid-34",
          "string": "|             Site URL: http://localhost:3000  |\n",
          "ts": "2024-01-26T13:16:18.727Z"
        },
        {
          "id": "logid-35",
          "string": "|     ReplicaSet OpLog: Enabled                |\n",
          "ts": "2024-01-26T13:16:18.727Z"
        },
        {
          "id": "logid-36",
          "string": "|          Commit Hash: 726574cfe3             |\n",
          "ts": "2024-01-26T13:16:18.730Z"
        },
        {
          "id": "logid-37",
          "string": "|        Commit Branch: HEAD                   |\n",
          "ts": "2024-01-26T13:16:18.730Z"
        },
        {
          "id": "logid-38",
          "string": "|                                              |\n",
          "ts": "2024-01-26T13:16:18.731Z"
        },
        {
          "id": "logid-39",
          "string": "+----------------------------------------------+\n",
          "ts": "2024-01-26T13:16:18.731Z"
        }
      ],
      "success": true
    }
    Expand All
    object
    queue
    Array of object
    object
    id
    string
    string
    string
    ts
    string
    success
    boolean
    401

    Unauthorized

    Authorization Error
    {
      "status": "error",
      "message": "You must be logged in to do this."
    }
    object
    status
    string
    message
    string

    Was this article helpful?
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.