update elasticsearch ttl config option to read a string ie: 30d