I would like to understand, how we can leverage the elastic search feature (camunda optimize) to query for history events.
Please provide some details on the following items
- How we configure so that history events are also pushed to elastic search
- How we can query them?
- How we can extract process variable (and their values) from this setup based on instance-id.
- Any rest api or java api ?