Using OpenSearch Dashboards with Logs Data Platform

Last updated 13th June, 2022

Objective

This guide will help you unleash the full power of OpenSearch Dashboards and craft some beautiful Dashboards from your logs.

Requirements

This is what you need to know to get you started:

After some training you will be able to do this kind of Dashboards:

OpenSearch Dashboards

Instructions

Create your Stream Alias

To access your logs from OpenSearch Dashboards, you will need to setup an OpenSearch Alias and link them to your Graylog streams, so here we go:

  1. Log in to the OVHcloud Control Panel.
  2. In the Alias panel, click on the Add an alias button
  3. Choose a name and define a description for your alias
  4. Save the entry by clicking the Save button
  5. Once the alias has been created, use the ... menu to the right and select Attach content to the alias option.
  6. Define there the graylog streams you want to associate to your alias
  7. That's it.

Alias creation

So now Logs Data Platform knows which stream you want to browse. Now let's configure OpenSearch Dashboards and see if it works!

Access your OpenSearch Dashboards instance

To create your OpenSearch Dashboards instance, click on OpenSearch Dashboards tab, Click on Add a instance, put a description and click on Order to launch the creation of your instance. Your instance will be created and delivered in approximatively 20 minutes.

osd creation

Use the ... menu to the right and select Access to your OpenSearch Dashboards instance option to be redirected.

osd access

Once there, use your LDP credentials to sign in and set on the first page. Click on the Add data button to add sample data you can play with. However if you want to use your own data, you must configure Index Patterns in the stack management page. This page is accessible by clicking on the Manage button next to the "Add data" button. option in the left side menu, displayable by using the top left the sandwich button.

In this configuration page, you can configure as the Index name, the full name of your alias logs-XXXXX-a-XXXXX, but you can also use wildcards. Choose timestamp for the time field name then click on Discover tab to read your log entries.

osd setup

You can also explore any OpenSearch index you created on the platform. One OpenSearch Dashboards instance allows you to explore all the data you delivered on Logs Data Platform.

To know what you can do with OpenSearch Dashboards, read the OpenSearch Dashboards documentation

Go further


Cette documentation vous a-t-elle été utile ?

N’hésitez pas à nous proposer des suggestions d’amélioration afin de faire évoluer cette documentation.

Images, contenu, structure… N’hésitez pas à nous dire pourquoi afin de la faire évoluer ensemble !

Vos demandes d’assistance ne seront pas traitées par ce formulaire. Pour cela, utilisez le formulaire "Créer un ticket" .

Merci beaucoup pour votre aide ! Vos retours seront étudiés au plus vite par nos équipes..


Ces guides pourraient également vous intéresser...

OVHcloud Community

Accedez à votre espace communautaire. Posez des questions, recherchez des informations, publiez du contenu et interagissez avec d’autres membres d'OVHcloud Community.

Echanger sur OVHcloud Community

Conformément à la Directive 2006/112/CE modifiée, à partir du 01/01/2015, les prix TTC sont susceptibles de varier selon le pays de résidence du client
(par défaut les prix TTC affichés incluent la TVA française en vigueur).