{
"operation-name" : "add",
"description" : "Adds a json formatter for the audit logging.",
"request-properties" : {
"compact" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "If true will format the JSON on one line. There may still be values containing new lines, so if having the whole record on one line is important, set escape-new-line or escape-control-characters to true.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"date-format" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The date format to use as understood by java.text.SimpleDateFormat. Will be ignored if include-date=\"false\".",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "yyyy-MM-dd HH:mm:ss",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"date-separator" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The separator between the date and the rest of the formatted log message. Will be ignored if include-date=\"false\".",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : " - ",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"escape-control-characters" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "If true will escape all control characters (ascii entries with a decimal value < 32) with the ascii code in octal, e.g.'\n becomes '#012'. If this is true, it will override escape-new-line=\"false\".",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"escape-new-line" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "If true will escape all new lines with the ascii code in octal, e.g. \"#012\".",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"include-date" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Whether or not to include the date in the formatted log record.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}