add draft debugging elasticsearch