make elasticsearch defaults configurable