Issue 4500 add log to es index api