Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19810

Elasticsearch Audit logEvents does one roundtrip per event

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.10
    • Fix Version/s: 7.10-HF11
    • Component/s: Audit

      Description

      The org.nuxeo.ecm.platform.audit.api.AuditLogger#logEvents log a bundle events. The AbstractAuditBackend as a default impl by calling logEvent for each item which generate an ES bulk indexing command per entry.

      org.nuxeo.ecm.platform.audit.service.AbstractAuditBackend#logEvents must be refactor to use addLogEntries so it ends with a single ES bulk command.

      Note that 8.3 is not affected because of the audit refactoring NXP-17934.

        Attachments

          Activity

            People

            • Assignee:
              bdelbosc Benoit Delbosc
              Reporter:
              bdelbosc Benoit Delbosc
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: