auth0 logs streams update http
Specify a URL you’d like Auth0 to post events to.
To update interactively, use auth0 logs streams create http
with no arguments.
To update non-interactively, supply the log stream name and other information through the flags.
Usage
auth0 logs streams update http [flags]
Examples
auth0 logs streams update http
auth0 logs streams update http <log-stream-id> --name <name>
auth0 logs streams update http <log-stream-id> --name <name> --endpoint <endpoint>
auth0 logs streams update http <log-stream-id> --name <name> --endpoint <endpoint> --type <type>
auth0 logs streams update http <log-stream-id> --name <name> --endpoint <endpoint> --type <type> --filters '[{"type":"category","name":"user.fail"},{"type":"category","name":"scim.event"}]'
auth0 logs streams update http <log-stream-id> --name <name> --endpoint <endpoint> --type <type> --pii-config '{"log_fields": ["first_name", "last_name"], "method": "mask", "algorithm": "xxhash"}'
auth0 logs streams update http <log-stream-id> --name <name> --endpoint <endpoint> --type <type> --format <format>
auth0 logs streams update http <log-stream-id> --name <name> --endpoint <endpoint> --type <type> --format <format> --authorization <authorization>
auth0 logs streams update http <log-stream-id> -n <name> -e <endpoint> -t <type> -f <format> -a <authorization> -c null
auth0 logs streams update http <log-stream-id> -n mylogstream -e "https://example.com/webhook/logs" -t "application/json" -f "JSONLINES" -a "AKIAXXXXXXXXXXXXXXXX" --json
auth0 logs streams update http <log-stream-id> -n mylogstream -e "https://example.com/webhook/logs" -t "application/json" -f "JSONLINES" -a "AKIAXXXXXXXXXXXXXXXX" --json-compact
Flags
-a, --authorization string Sent in the HTTP "Authorization" header with each request.
-e, --endpoint string The HTTP endpoint to send streaming logs to.
-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 "[]")
-f, --format string The format of data sent over HTTP. Options are "JSONLINES", "JSONARRAY" or "JSONOBJECT"
--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 "{}")
-t, --type string The "Content-Type" header to send over HTTP. Common value is "application/json".
Inherited Flags
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
Related Commands
- auth0 logs streams update datadog - Update an existing Datadog log stream
- auth0 logs streams update eventbridge - Update an existing Amazon Event Bridge log stream
- auth0 logs streams update eventgrid - Update an existing Azure Event Grid log stream
- auth0 logs streams update http - Update an existing Custom Webhook log stream
- auth0 logs streams update splunk - Update an existing Splunk log stream
- auth0 logs streams update sumo - Update an existing Sumo Logic log stream