Dejavu is a free and open source web UI for Elasticsearch built with the goal of creating a modern Web UI (no page reloads, infinite scroll, filtered views, realtime updates, search UI builder) for Elasticsearch with 100% client-side rendering. It can be run in Docker container, hosted app on github pages or as a chrome extension. dejavu is the only Elasticsearch web UI that has support for importing data via CSV and JSON files, as well as defining field mappings from the GUI.

This short guide we’ve prepared to help you with the installation and usage of dejavu Elasticsearch Web UI. Some of the key features of dejavu Web UI for Elasticsearch are:

  • Modern UI elements: Dejavu supports paginated view which also allows you to change page size. It also supports browsing data from multiple indexes and types, updating data either individually or via queries in bulk.
  • Import JSON or CSV Data: Importer view allows importing CSV or JSON data directly into Elasticsearch through a guided data mappings configuration.
  • Build Search UIs: With Search Preview, you can now build visual search UIs, test search relevancy and export code to a codesandbox.
  • Visual Filters: Sort through the data, find information visually, hide irrelevant data and make sense of all.
  • Easily Connect and Remember Indices: Dejavu allows you to connect to any of the indexes present in your cluster and also caches each connected index locally so they are easily accessible when browsing again.

Install Elasticsearch

You need a working Elasticsearch installation before so you can connect Dejavu to it. See our guides below on the installation of Elasticsearch.

Setup Elasticsearch Cluster on CentOS| Ubuntu With Ansible

How To Install Elasticsearch on Ubuntu

How To Install Elasticsearch on RHEL 8 / CentOS 8

How To Install ElasticSearch 7.x on CentOS 7

How To Install Elasticsearch 7 on Debian

Install dejavu – Web UI for Elasticsearch

In our installation we’ll use Docker but you can also install dejavu as hosted app on github pagesas a chrome extension. For Docker installation method it means you need a running Docker engine or Podman container runtime.

How To Install Docker on Ubuntu / Debian / CentOS 7 / CentOS 8

Since this Lab is done on Ubuntu 20.04, I can easily install Docker container runtime by running the following commands in the terminal.

sudo apt update
sudo apt -y install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
sudo apt remove docker docker-engine containerd runc
curl -fsSL | sudo apt-key add -
curl -fsSL | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] $(lsb_release -cs) stable"
echo "deb [arch=amd64] $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt update
sudo apt install docker-ce docker-ce-cli
sudo usermod -aG docker $USER
newgrp docker

We also have guides covering the installation of Podman on Ubuntu / Debian / CentOS 7 / CentOS 8

Once Docker or Podman is installed, use it to run dejavu application to get Elasticsearch UI.

--- Using Docker ---
$ docker run -p 1358:1358 -d appbaseio/dejavu

--- Using Podman ---
$ podman run -p 1358:1358 -d appbaseio/dejavu

Check that the container is running:

# docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                    NAMES
cab2b3381aa0        appbaseio/dejavu    "/bin/sh -c 'node pa…"   36 seconds ago      Up 35 seconds>1358/tcp   vigorous_banach

Then open Dejavu web console in your web browser.

open http://localhost:1358/

You should see a web dashboard similar to below.

install and use dejavu elasticsearch web ui

You’re now ready to browse Elasticsearch data, import data, query and many other functions.

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here