Writing to ES through transport client