Add automatic TTL set in ES for #6