set

netq set otlp endpoint-ca-cert

Sets the CA certificate of your time-series database; used together with the netq add otlp endpoint command.

Syntax

netq set otlp endpoint-ca-cert 
    tsdb-name <text-tsdb-endpoint> 
    ca-cert <text-path-to-ca-crt>

Required Arguments

Argument Value Description
tsdb-name <text-tsdb-endpoint> Specify the name of your TSDB
ca-cert <text-path-to-ca-crt> Specify the path to the CA certificate

Options

None

  • netq add otlp endpoint

netq set otlp security-mode

Sets the OTLP security mode.

Syntax

netq set otlp security-mode <text-mode>

Required Arguments

Argument Value Description
security-mode <text-mode> Enable TLS (tls) or disable (insecure) the OTLP security mode

Options

None

None


netq set otlp tls-cert

Configures the server certificate (server.crt) and server key (server.key) on the NetQ server.

Syntax

netq set otlp tls-cert 
    server-crt <text-path-to-server-crt> 
    server-key <text-path-to-server-key>

Required Arguments

Argument Value Description
server-crt <text-path-to-server-crt> Specify path to the server certificate
server-key <text-path-to-server-key> Specify path to the server key

Options

None

None