Refactoring to extract the kibanaLink logic

Introduced new concept: eventBuilders