Installing Sense for Kibana on OS X

This entry is part 5 of 35 in the series Complete Guide to Elasticsearch

Sense is a Kibana plugin that enables one to quickly and easily issue requests to an Elasticsearch cluster. This is done without using a third party tool such as cURL. Sense conveniently includes IntelliSense, helping you remember the appropriate syntax for requests. Let’s see how we can install Sense on OS X. If you are not on a Mac or another UNIX based operating system, then simply use the kibana.bat file instead in the following snippets.

First, make sure that Kibana is not already running, and then issue the following commands in the Terminal or Command Prompt for Windows users.

cd /path/to/kibana
cd bin
./kibana plugin --install elastic/sense

This is going to install the Kibana plugin Sense and is going to take a few minutes.

When the above command completes, you will need to start up Kibana by entering the below command.

./kibana

When Kibana has started, open up a browser of your choice and navigate to http://localhost:5601/app/sense.

In the interface that loads up (after closing the Sense introduction), you are going to be entering Elasticsearch requests on the left and see the corresponding results on the right. To issue a request, simply click the green triangle at the top right corner of the left pane. If you click the wrench icon after having entered a request, it is possible to copy the request in the corresponding cURL syntax, which is very useful. Also very convenient, is the fact that it works the other way too; if you copy a cURL request and simply copy it into the request field, it will automatically be formatted into the Sense syntax. Now how cool is that?

Series Navigation<< Installing Kibana for Elasticsearch on OS XCreating an Index >>

2 Comments

  1. Grace said:

    Hello, please is Marvel the replacement for Sense? And please how can I install it on Mac? I’ve installed elasticsearch and kibana using brew, but I can’t figure out how to proceed. Many thanks for your help.

    April 19, 2017
    Reply
    • Bo Andersen said:

      Hello Grace,

      Thank you for your comment. Actually there is something called Console included with Kibana 5.x, which replaces the Sense plugin. You can find it by opening up Kibana and clicking on “Dev Tools” in the menu on the left hand side. The functionality should be pretty much the same, only now you don’t need to install it separately, so you should be good to go if your Kibana installation is working.

      I hope that helps.

      Best regards,
      Bo Andersen

      April 19, 2017
      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *