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:
- You are already sending logs on a stream you own: see the quick start tutorial
- There is nothing else
After some training you will be able to do this kind of Dashboard:
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:
- Log in to the OVHcloud Control Panel.
- In the Alias panel, click on the
Add an alias
button - Choose a name and define a description for your alias
- Save the entry by clicking the
Save
button - Once the alias has been created, use the ... menu to the right and select
Attach content to the alias
option. - Define there the graylog streams you want to associate to your alias
- That's it.
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.
Use the ... menu to the right and select Access to your OpenSearch Dashboards instance
option to be redirected.
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.
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
- Getting Started: Quick Start
- Documentation: Guides
- Community hub: https://community.ovh.com
- Create an account: Try it!
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.