Install and use dejavu – Elasticsearch Web UI

The
You can download this article in PDF format to support us through the following link.

Download the guide in PDF format

turn off
The

The
The

Dejavu is Elasticsearch’s free and open-source Web UI, designed to create a modern Web UI with 100% client-side rendering for Elasticsearch (no page reloads, infinite scrolling, filtered views, real-time updates, search UI builder). It can run in Docker containers, in applications hosted on github pages or in chrome extensions. dejavu is the only Elasticsearch Web UI that supports importing data through CSV and JSON files and defining field mapping from the GUI.

We have prepared this short guide to help you install and use dejavu Elasticsearch Web UI. Some key features of dejavu Web UI for Elasticsearch include:

  • Modern UI elements: Dejavu supports paging view, which also allows you to change the page size. It also supports browsing data from multiple indexes and types, which can be updated individually or through batch queries.
  • Import JSON or CSV data: Importer view allows CSV or JSON data to be directly imported into Elasticsearch through guided data mapping configuration.
  • Build search user interface: With Search Preview, you can now build a visual search user interface, test search relevance, and export code to codesandbox.
  • Visual filter: Organize data, find information intuitively, hide irrelevant data and make everything meaningful.
  • Connect easily and remember the index: Dejavu allows you to connect to any index that exists in the cluster, and you can also cache the index of each connection locally so that you can easily access them when you browse again.

Install Elasticsearch

You need a working Elasticsearch installation before you can connect Dejavu to it. Please see the guide below for Elasticsearch installation.

To set up an Elasticsearch cluster on CentOS | Ubuntu and 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-Elasticsearch Web UI

In our installation, we will use Docker, but you can also install dejavu as Application hosted on github page, As chrome extension. For the Docker installation method, this means that you need to run the Docker engine or Podman container runtime.

How to install Docker on Ubuntu/Debian/CentOS 7/CentOS 8

Since this experiment was done on Ubuntu 20.04, I can easily install the Docker container runtime by running the following command 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 docker.io containerd runc
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io
sudo usermod -aG docker $USER
newgrp docker

We also provide guidance on installing Podman on Ubuntu/Debian/CentOS 7/CentOS 8.

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

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

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

Check if 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       0.0.0.0:1358->1358/tcp   vigorous_banach

Then open the Dejavu web console in a web browser.

open http://localhost:1358/

You should see a network information center similar to the following.

Now you are ready to browse Elasticsearch data, import data, query and many other functions.

The
You can download this article in PDF format to support us through the following link.

Download the guide in PDF format

turn off
The

The
The

Sidebar