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

Denormalize Document Data in Audit Index

    XMLWordPrintable

    Details

    • Backlog priority:
      499

      Description

      When querying the ElasticSearch audit index, the available data is pretty limited. Typically you may need to use the document id or path to fetch the actual document in order to get relevant data (like dc:title or file:content.name).

      I.e. you may need to perform a "join". Elasticsearch suggests using Application-side joins or denormalizing the data; in fact they recommend denormalizing the data for search performance.

      Maybe we could consider adding the document to the index for each audit event? Or a way to link a schema to the event? More info here: https://www.elastic.co/guide/en/elasticsearch/guide/current/denormalization.html

      I can understand this might not be desirable for the audit, in terms of index-time performance as well as space. And it's not a customer use case (yet)

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: