Kibana 5: A Review of What's New and Improved
Looking at Kibana 5 for the first time, you can’t help but notice the new and improved design. It’s not just a “facelift” — as many products like to call it — but rather a whole bottom-up redesign of the app.
Join the DZone community and get the full member experience.Join For Free
looking at kibana 5 for the first time, you can’t help but notice the new and improved design. it’s not just a “facelift” — as many products like to call it — but rather a whole bottom-up redesign of the app.
while the release date of kibana 5 is not known, i looked at the features of the current alpha version and wanted to share my thoughts with the community.
the kibana 5 dashboard
the kibana team did a great job with the new version’s real estate — it’s a really smart move to put the menu on the left side of the screen and keep it minimized when not in use. this frees up space for the histogram as well as the logs themselves.
the new logo, choice of colors, and subtle loading indicator at the top of the screen are really nice touches too. in addition, i really like how the new kibana 5 dashboards look. they dropped the borders on all the visualizations and made it look cleaner.
inside the app
say that you have just opened the app, and kibana 5 welcomes you with a message about a missing index pattern. the nice thing about this version is that elastic has added an “upload csv” tab.
if we are not currently receiving data but have a .csv file from our production log files, all we need to do is to drag the file onto the browser screen:
kibana then shows a quick wizard that asks us to approve the mapping for the data and give the file a name. finally, we can hit “upload” — and it’s there! all of the data from our file can be seen in the discover window:
the discover window
compared to kibana 4, there are some small functionality changes in the discover window in kibana 5. one of them is that whenever data is not time-based, we do not have a histogram that shows the number of logs that have been received over time. kibana seems to want to save precious real estate here.
in addition, when we open a single log, we can click on an asterisk icon next to any specific field to filter logs with that field quickly.
above the log, there is a link to the specific log message. in previous versions of kibana, this link went directly to elasticsearch, returning the actual json via a browser get request to the elasticsearch server.
in kibana 5, this has changed to a custom view that shows the specific log. the great advantage is that organizations that do not want to expose their elasticsearch servers for security reasons can still allow people to send a link to a specific log message:
the visualizations and dashboards
i cannot help but mention again that the visualization editor is much nicer than the one in kibana 3 and 4. it almost feels as if they have improved the functionality as well!
once you created a dashboard or visualization and wanted to share it with someone in the past, kibana would generate a really long link. in kibana 5, there is a small button in the share dialog that generates a shortened url for you instead. this is a much more user-friendly way to share and embed dashboards and visualizations.
each dashboard also has a “theme” setting. you can choose to display a dashboard using a dark theme, which instantly switches the view to a black background with the light colors in the foreground. users have been wanting this feature for quite a while:
in the main menu, you will also find a new button named “console.” those of you who have used elasticsearch for a few years already are probably familiar with the chrome extension called “sense.” for some reason, elastic decided to discontinue this plugin. instead, they added it to the marvel app and then moved it into kibana as a default tab:
this is by far the most comfortable way to run elasticsearch queries . it has a comfortable ui and a great auto-complete, which makes writing queries a breeze. (if you’re not using kibana 5 yet but still want the sense plugin back, then just refer to this post about a standalone version that does not even require kibana to run.)
the management tab
in the management tab in kibana, you can see a collection of the files that you have uploaded with associated data as well as the elasticsearch indexes to which you are actively sending logs. you can easily switch between them and view the data files again.
up until now, i mentioned some cool new features in kibana 5, but i did not talk about the code — which got a complete “makeover” as well. a lot of new nodejs code has been inserted, and the architecture has improved a lot!
i won’t go into more detail here because i can go more in-depth in a future post. but i’ll just mention that the elastic team did a great job of improving the code base. it seems very robust and ready for additional improvements. they took advantage of the nodejs cluster api to scale the node process and used the hapijs framework for handling rest.
elastic also split the code into “plugins” – basically, each option in the main menu is a plugin. the discover, visualize, dashboard, console, and settings tabs are all separate plugins. as a result, it’s easier than ever to add code to kibana. just create a new plugin that can be self-contained in a single directory — there is even a simple cli utility that can install and uninstall the plugins.
kibana 4 vs. 5
there is little doubt that kibana 5 is a huge improvement over kibana 4 and an important upgrade to the elk stack as a whole (see our entire review of the elk stack 5.0 as a whole).
any new version of software will have quirks, and there is little doubt that future alpha and beta releases of kibana 5 will have issues. but as a whole, i’m really looking forward to working with this new version and integrating it into our elk platform .
in the meantime, kudos to elastic’s development team! what do you think of kibana 5? i’d love to hear your thoughts below.
for more on kibana, i invite you to see my earlier tutorial on how to create custom kibana visualizations .
Published at DZone with permission of Gilly Barr, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.