Get Logging Settings
GET/api/v32.07/settings/logging
x-prisma-cloud-target-env: {"permission":"manageAlerts"}
Returns the logging settings.
cURL Request
Refer to the following example cURL request that uses basic auth to retrieve your logging details.
$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X GET \
"https://<CONSOLE>/api/v<VERSION>/settings/logging"
Responses
- 200
- default
LoggingSettings are the logging settings
- application/json
- Schema
- Example (from schema)
Schema
ConsoleAddress is the console address used by the admin to access the console, used for creating links for runtime events.
EnableMetricsCollection indicates whether metric collections feature is enabled.
IncludeRuntimeLink indicates whether link to forensic event should be included in the output.
stdout object
LoggerSetting are a specific logger settings
AllProcEvents indicates whether any new spawned container process should generate an event source entry.
Enabled indicates whether log feature is enabled.
VerboseScan indicates whether detailed scan (Compliance/Vulnerability) result should be written to event logger.
syslog object
SyslogSettings are the syslog settings
Addr is the remote address for sending events.
AllProcEvents indicates whether any new spawned container process should generate an event source entry.
Cert is the server cert for dialing TLS syslogger.
Enabled indicates whether log feature is enabled.
ID represents the user's custom identifier string.
VerboseScan indicates whether detailed scan (Compliance/Vulnerability) result should be written to event logger.
{
"consoleAddress": "string",
"enableMetricsCollection": true,
"includeRuntimeLink": true,
"stdout": {
"allProcEvents": true,
"enabled": true,
"verboseScan": true
},
"syslog": {
"addr": "string",
"allProcEvents": true,
"cert": "string",
"enabled": true,
"id": "string",
"verboseScan": true
}
}