Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-19792

Allow configuring log format for Audit Logs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 5.1
    • Tool/auditlogging
    • None
    • Semantic
    • Low Hanging Fruit
    • All
    • None
    • Hide

      Added unit tests that verify the existing behavior, and tests that capture the new behavior when the parameters are configured.

      Show
      Added unit tests that verify the existing behavior, and tests that capture the new behavior when the parameters are configured.

    Description

      Enhance the configuration for audit loggers to take two new parameters. One is for defining the key-value separator character, and the second is for the field separator character.

      The existing behavior will be preserved. However an operator can configure parameters to customize the separators. For example:

      audit_logging_options:
        enabled: false
        logger:
          - class_name: FileAuditLogger
            parameters:
              - key_value_separator: "="
                field_separator: " "
      

      Attachments

        1. ci_summary.html
          46 kB
          Francisco Guerrero

        Activity

          People

            frankgh Francisco Guerrero
            frankgh Francisco Guerrero
            Francisco Guerrero
            Andy Tolbert, Stefan Miklosovic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: