cleaned up and further parameterised elasticsearch state
refactored logstash module
refactored kibana module