Skip to content

log_shipping

Log shipping controller that accepts logs sent from a web application or external tools and aggregates them in the local DQOps instance logs.


log_debug

Logs an information message in the server's logs as a debug severity log entry.
Source code

POST

http://localhost:8888/api/logs/debug  

Request body

 Description                       Data type   Required 
Log entry ExternalLogEntry

Usage examples

curl -X POST http://localhost:8888/api/logs/debug^
    -H "Accept: application/json"^
    -H "Content-Type: application/json"^
    -d^
    "{\"window_location\":\"window.location\",\"message\":\"Sample log message.\"}"

log_error

Logs an information message in the server's logs as an error severity log entry.
Source code

POST

http://localhost:8888/api/logs/error  

Request body

 Description                       Data type   Required 
Log entry ExternalLogEntry

Usage examples

curl -X POST http://localhost:8888/api/logs/error^
    -H "Accept: application/json"^
    -H "Content-Type: application/json"^
    -d^
    "{\"window_location\":\"window.location\",\"message\":\"Sample log message.\"}"

log_info

Logs an information message in the server's logs as an info severity log entry.
Source code

POST

http://localhost:8888/api/logs/info  

Request body

 Description                       Data type   Required 
Log entry ExternalLogEntry

Usage examples

curl -X POST http://localhost:8888/api/logs/info^
    -H "Accept: application/json"^
    -H "Content-Type: application/json"^
    -d^
    "{\"window_location\":\"window.location\",\"message\":\"Sample log message.\"}"

log_warn

Logs an information message in the server's logs as a warn severity log entry.
Source code

POST

http://localhost:8888/api/logs/warn  

Request body

 Description                       Data type   Required 
Log entry ExternalLogEntry

Usage examples

curl -X POST http://localhost:8888/api/logs/warn^
    -H "Accept: application/json"^
    -H "Content-Type: application/json"^
    -d^
    "{\"window_location\":\"window.location\",\"message\":\"Sample log message.\"}"