updated to support kibana3
Paul Czarkowski 2013-09-29 updated to support kibana3