Add Logging Settings
POST/api/v32.07/settings/logging
x-prisma-cloud-target-env: {"permission":"manageAlerts"}
Configures the logging settings. This includes Syslog, Stdout, and Prometheus instrumentation.
For more information, see Logging.
cURL Request
Refer to the following example cURL request that enables verbose scan output for syslog and stdout:
$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X POST \
-d \
'{
"syslog": {
"enabled": true,
"verboseScan": true,
"allProcEvents": false,
"addr": ""
},
"stdout": {
"enabled": true,
"verboseScan": true,
"allProcEvents": false,
}
}' \
"https://<CONSOLE>/api/v<VERSION>/settings/logging"
Request
Responses
- 200
- default
OK