Using kibana and mongodb together without elasticsearch

Anshul Kapoor picture Anshul Kapoor · Jun 16, 2014 · Viewed 13.3k times · Source

Is it possible to use kibana front-end along with a mongodb back-end without using elastic search?

I'm using logstash to parse logs and store in mongodb and want to use kibana to display data?

If not, are there any alternatives to implement kibana+mongodb?

Answer

stuart-warren picture stuart-warren · Jun 16, 2014

I'm afraid that Kibana is specifically designed to use the Elasticsearch API. While they do both provide JSON responses, they don't return compatible data structures and even if they did, Mongo would not provide the same features (facets/filters) that Kibana makes heavy use of.

You could probably index your MongoDB data in Elasticsearch following instructions similar to https://coderwall.com/p/sy1qcw but then you are unnecessarily duplicating your data in 2 systems.