auth0 logs streams create datadog
Build interactive dashboards and get alerted on critical issues.
To create interactively, use auth0 logs streams create datadog with no arguments.
To create non-interactively, supply the log stream name and other information through the flags.
Usage
auth0 logs streams create datadog [flags]
Examples
auth0 logs streams create datadog
auth0 logs streams create datadog --name <name>
auth0 logs streams create datadog --name <name> --region <region>
auth0 logs streams create datadog --name <name> --region <region> --api-key <api-key> --filters '[{"type":"category","name":"auth.login.fail"},{"type":"category","name":"auth.signup.fail"}]'
auth0 logs streams create datadog --name <name> --region <region> --api-key <api-key> --pii-config '{"log_fields": ["first_name", "last_name"], "method": "hash", "algorithm": "xxhash"}'
auth0 logs streams create datadog -n <name> -r <region> -k <api-key>
auth0 logs streams create datadog -n mylogstream -r eu -k 121233123455 --json
auth0 logs streams create datadog -n mylogstream -r eu -k 121233123455 --json-compact
# Discover the payload schema
auth0 logs streams create datadog --schema
auth0 logs streams create datadog --schema --json
# JSON input mode (for agents and automation)
auth0 logs streams create datadog --data '{"name":"my-stream","sink":{"datadogRegion":"us","datadogApiKey":"<api-key>"}}'
Flags
-k, --api-key string Datadog API Key. To obtain a key, see the Datadog Authentication documentation (https://docs.datadoghq.com/api/latest/authentication).
--data string JSON payload for the operation, as a JSON string or file path (@file.json). Can also be piped via stdin.
-m, --filters string Events matching these filters will be delivered by the stream, Formatted as JSON.
Example: "[{"type":"category","name":"auth.login.fail"},{"type":"category","name":"auth.signup.fail"}]" (default "[]")
--json Output in json format.
--json-compact Output in compact json format.
-n, --name string The name of the log stream.
-c, --pii-config string Specifies how PII fields are logged, Formatted as JSON.
including which fields to log (first_name, last_name, username, email, phone, address),the protection method (mask or hash), and the hashing algorithm (xxhash).
Example : {"log_fields": ["first_name", "last_name"], "method": "mask", "algorithm": "xxhash"}.
(default "{}")
-r, --region string The region in which the datadog dashboard is created.
If you are in the datadog EU site ('app.datadoghq.eu'), the Region should be EU otherwise it should be US.
--schema Print the request payload schema for this command and exit. Use with --json or --json-compact for machine-readable output.
Inherited Flags
--agent-mode Output JSON, disable prompts and colors. Auto-enabled for AI agents; set AUTH0_AGENT_MODE=false to disable.
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
Related Commands
- auth0 logs streams create datadog - Create a new Datadog log stream
- auth0 logs streams create eventbridge - Create a new Amazon Event Bridge log stream
- auth0 logs streams create eventgrid - Create a new Azure Event Grid log stream
- auth0 logs streams create http - Create a new Custom Webhook log stream
- auth0 logs streams create splunk - Create a new Splunk log stream
- auth0 logs streams create sumo - Create a new Sumo Logic log stream