i want to do audit functionality in elastic search. generally the same job will do in SQL with triggers.
example: suppose a new document got created in index(primary) and on successful transaction document in primary ,immediately i need to create that document in audit_index(new audit index)with time stamp.
is there any possibility in elastic search.??
Please do immediate help on this