ReferenceCLIDestinations

nevia destinations set

Change a destination, keeping what you leave out

nevia destinations set [FLAGS] <DESTINATION>

Header values are never read back, so a change to a destination that has headers gives them again with --api-key-file (and --instance-id for grafana_cloud) or --headers-file, or removes them with --clear-headers. Sends the test records again, as create does.

Arguments

  • <DESTINATION> - Destination ID

Options

  • --name <NAME> - A label for people (default on create: the endpoint's host)

  • --endpoint <URL> - The OTLP/HTTP base URL, https; logs go to /v1/logs and metrics to /v1/metrics

  • --api-key-file <PATH> - File holding the preset's key or token, - for piped stdin; never pass the key itself

  • --instance-id <ID> - The account's instance ID, for a preset whose header is built from it and the key (grafana_cloud)

  • --headers-file <PATH> - File of Name: value header lines, - for piped stdin; replaces every header

  • --signal <SIGNAL> - Send only this signal (repeatable; default on create: both)

    Choices: logs, metrics

  • --project <PROJECT> - Only resources in this project, by id or name (repeatable); none for every resource in the workspace

  • --clear-headers - Remove every header, for an endpoint that needs none

  • -h, --help - Print help

On this page