ReferenceCLIDestinations

nevia destinations create

Start exporting to a destination

nevia destinations create [FLAGS]

Give --preset with the vendor's key in --api-key-file, or --endpoint and its --headers-file. For example: nevia destinations create --preset honeycomb --region eu --api-key-file - < key.txt, or nevia destinations create --preset grafana_cloud --endpoint https://otlp-gateway-prod-eu-west-2.grafana.net/otlp --instance-id 123456 --api-key-file - < token.txt. Presets: datadog (--region us1, us3, us5, eu1, ap1, ap2 or uk1), dynatrace (--endpoint of your environment, such as https://abc12345.live.dynatrace.com/api/v2/otlp), elastic (--endpoint of your project's managed OTLP endpoint), grafana_cloud (--endpoint of your stack's OTLP gateway, with --instance-id), honeycomb (--region us or eu) and new_relic (--region us or eu). Without --region a preset takes its first.

Options

  • --preset <PRESET> - A vendor whose endpoint and key header the destination takes

    Choices: datadog, dynatrace, elastic, grafana_cloud, honeycomb, new_relic

  • --region <REGION> - The preset's region, such as eu (default: its first); give this or --endpoint

  • --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

  • -h, --help - Print help

On this page