allow configurable apache filename & config.js ES

apache filename should be configurable as well as elasticsearch cluster