Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 1.32 KB

logger_restapi.md

File metadata and controls

60 lines (43 loc) · 1.32 KB

Logger: REST API

Build-in webserver with REST API to search domains, clients and more... Basic authentication supported.

See the swagger documentation.

Options:

  • listen-ip (string)

    listening IP

  • listen-port (integer)

    listening port

  • basic-auth-enable (boolean)

    enable or disable basic authentication

  • basic-auth-login (string)

    default login for basic auth

  • basic-auth-pwd (string)

    default password for basic auth

  • tls-support (boolean)

    tls support

  • tls-min-version (string)

    min tls version, default to 1.2

  • cert-file (string)

    certificate server file

  • key-file (string)

    private key server file

  • top-n (string)

    default number of items on top

  • chan-buffer-size (integer)

    Specifies the maximum number of packets that can be buffered before discard additional packets. Set to zero to use the default global value.

Default values:

restapi:
  listen-ip: 0.0.0.0
  listen-port: 8080
  basic-auth-enable: true
  basic-auth-login: admin
  basic-auth-pwd: changeme
  tls-support: true
  tls-min-version: 1.2
  cert-file: "./tests/testsdata/server.crt"
  key-file: "./tests/testsdata/server.key"
  top-n: 100
  chan-buffer-size: 0