auth0 logs streams create splunk
Monitor real-time logs and display log analytics.
To create interactively, use auth0 logs streams create splunk
with no arguments.
To create non-interactively, supply the log stream name and other information through the flags.
Usage
auth0 logs streams create splunk [flags]
Examples
auth0 log streams create splunk
auth0 log streams create splunk --name <name>
auth0 log streams create splunk --name <name> --domain <domain>
auth0 log streams create splunk --name <name> --domain <domain> --token <token>
auth0 log streams create splunk --name <name> --domain <domain> --token <token> --port <port>
auth0 log streams create splunk --name <name> --domain <domain> --token <token> --port <port> --filters '[{"type":"category","name":"auth.login.fail"},{"type":"category","name":"auth.signup.fail"}]'
auth0 log streams create splunk --name <name> --domain <domain> --token <token> --port <port> --pii-config '{"log_fields": ["first_name", "last_name"], "method": "hash", "algorithm": "xxhash"}'
auth0 log streams create splunk --name <name> --domain <domain> --token <token> --port <port> --secure=false
auth0 log streams create splunk -n <name> -d <domain> -t <token> -p <port> -s
auth0 log streams create splunk -n mylogstream -d "demo.splunk.com" -t "12a34ab5-c6d7-8901-23ef-456b7c89d0c1" -p "8088" -s false --json
auth0 log streams create splunk -n mylogstream -d "demo.splunk.com" -t "12a34ab5-c6d7-8901-23ef-456b7c89d0c1" -p "8088" -s false --json-compact
Flags
-d, --domain string The domain name of the splunk instance.
-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 "{}")
-p, --port string The port of the HTTP event collector.
-s, --secure This should be set to 'false' when using self-signed certificates.
-t, --token string Splunk event collector token.
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 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