make elasticsearch index configurable
automatically replace unit ps with /s