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 Dashboard:

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. You can also use the "Stack Management" 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


Did you find this guide useful?

Please feel free to give any suggestions in order to improve this documentation.

Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.

Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.

Thank you. Your feedback has been received.


These guides might also interest you...

OVHcloud Community

Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.

Discuss with the OVHcloud community

In accordance with the 2006/112/CE Directive, modified on 01/01/2015, prices incl. VAT may vary according to the customer's country of residence
(by default, the prices displayed are inclusive of the UK VAT in force).