access_logs: config option to sort JSON properties (#29084)

Signed-off-by: ohadvano <ohadvano@gmail.com>

Mirrored from https://github.com/envoyproxy/envoy @ fc33e5d94f6919f6748e468b75df607bdd667e24
main
update-envoy[bot] 1 year ago
parent d3f507010c
commit a05d3487fa
  1. 11
      envoy/config/core/v3/substitution_format_string.proto

@ -19,9 +19,15 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE;
// [#protodoc-title: Substitution format string]
// Optional configuration options to be used with json_format.
message JsonFormatOptions {
// The output JSON string properties will be sorted.
bool sort_properties = 1;
}
// Configuration to use multiple :ref:`command operators <config_access_log_command_operators>`
// to generate a new string in either plain text or JSON format.
// [#next-free-field: 7]
// [#next-free-field: 8]
message SubstitutionFormatString {
oneof format {
option (validate.required) = true;
@ -113,4 +119,7 @@ message SubstitutionFormatString {
// See the formatters extensions documentation for details.
// [#extension-category: envoy.formatter]
repeated TypedExtensionConfig formatters = 6;
// If json_format is used, the options will be applied to the output JSON string.
JsonFormatOptions json_format_options = 7;
}

Loading…
Cancel
Save