Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Kibana

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

Infrastructure Training

Lesson 3 Recap
Elasticsearch and Kibana

academy.uipath.com
About Elasticsearch

About Elasticsearch
➢ A big data storing tool; a NoSQL database
➢ In general – store and index documents
➢ In UiPath Orchestrator – store messages logged by the robots

Uses of Elasticsearch
➢ Search for a word or a phrase in the message,
➢ Apply search criteria to any field that is indexed – log level, username, robot name, process name
➢ Create charts and put them in dashboards (using Kibana)
Place of Elasticsearch

Elasticsearch is an Elasticsearch is a It is optional, Several times Along with Kibana, it


integral part of our free product but highly quicker in searches, offers the means to
solution. recommended compared to SQL run BI and MI
database reports, analytics
NLog, Elasticsearch, other logging solutions

NLog supports standard targets Other targets for NLog: MongoDB,


and custom targets Splunk, Kafka, etc

Orchestrator uses the NLog library Elasticsearch is a custom Worst case: write messages into a
to collect messages from the target, using an extension (a flat file (text) and use a log
robots and redirect them to one or bridge) collector to transfer them
more targets
Installation of Elasticsearch

Link to supported version and


installation instructions are in the
online documentation

Be careful to provide meaningful cluster


name, do not rely on the auto discovery
feature

Edit the configuration file


“elasticsearch.yml” after installation if you
install a real cluster, with minimum 3
nodes
Kibana

Link to supported version and Necessary files and instructions to


A visualization plugin over installation instructions are in create a Windows service for
Elasticsearch the online documentation Kibana are also in the online
documentation
Index pattern in Kibana

Create an index pattern after installation

Create an index pattern after a new tenant is added in Orchestrator

Run AddMessageToElasticsearch PowerShell script to force the creation of the first index

Examples of index names (composed of tenant name, year and month)


➢ default-2017.10, default-2017.11, default-2017.12, default-2018.01
➢ rpacoe-2018.01, rpacoe-2018.02, rpacoe-2018.03
Kibana searches

In Kibana web interface, click on


Discover

Uses lucene query syntax


Visualizations

Several visualization types are


available: Pie, Line, Vertical bar,
Horizontal bar, Area, Table, etc

Create new
visualizations,
export and share the
existing ones Visualizations are analytical
ways of presenting data
stored in Elasticsearch
Dashboard

A dashboard is a Examine Default Watch the Kibana Export / import of Warning: custom
collection of dashboards tutorials to learn visualizations and fields
visualizations on the useful information dashboards
same page from Elasticsearch
Elasticsearch – backup, snapshots

High Availability, using Maintenance – delete old


minimum 3 nodes unused indices

Backup, using the Snapshot


tool
Thank you!

academy.uipath.com

You might also like