Skip to main content Link Menu Expand (external link) Document Search Copy Copied

auth0 logs streams update eventbridge

Stream real-time Auth0 data to over 15 targets like AWS Lambda.

To update interactively, use auth0 logs streams create eventbridge with no arguments.

To update non-interactively, supply the log stream name through the flag.

Usage

auth0 logs streams update eventbridge [flags]

Examples

  auth0 logs streams update eventbridge
  auth0 logs streams update eventbridge <log-stream-id> --name <name>
  auth0 logs streams update eventbridge <log-stream-id> --name <name>
  auth0 logs streams update eventbridge <log-stream-id> --name <name> --filters '[{"type":"category","name":"user.fail"},{"type":"category","name":"scim.event"}]'
  auth0 logs streams update eventbridge <log-stream-id> --name <name>  --pii-config '{"log_fields": ["first_name", "last_name"], "method": "mask", "algorithm": "xxhash"}'
  auth0 logs streams update eventbridge <log-stream-id> -n <name> -p null
  auth0 logs streams update eventbridge <log-stream-id> -n mylogstream --json
  auth0 logs streams update eventbridge <log-stream-id> -n mylogstream --json-compact

Flags

  -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 "{}")

Inherited Flags

      --debug           Enable debug mode.
      --no-color        Disable colors.
      --no-input        Disable interactivity.
      --tenant string   Specific tenant to use.