Installing and Setting up OpenSearch-Dashboards
In the previous blog we have saw how to install and configure OpenSearch in Ubuntu. In this blog let’s install and configure OpenSearch-Dashboards, and linking with the OpenSearch.
For installing and setting up OpenSearch check out my previous blog here
What is OpenSearch-Dashboards?
OpenSearch Dashboards is a visualization and user interface tool that is typically used in conjunction with OpenSearch, an open-source search and analytics engine. OpenSearch Dashboards provides a web-based interface for interacting with and visualizing data stored in OpenSearch. Here are some of its main uses:
1. Data Visualization: With OpenSearch Dashboards, users may generate a wide range of visuals to aid in data analysis and comprehension, including graphs, charts, and maps. Dashboards that are configurable allow users to explore and engage with data.
2. Dashboard Creation: Custom dashboards that compile and show data from OpenSearch indexes may be designed and used by users. Dashboards are helpful for tracking important performance indicators, trends, and metrics in real time.
3. Search and Exploration: The robust search and exploration interface of OpenSearch Dashboards is included. To obtain insights, users may do intricate searches, apply filters, and delve deep into certain areas of their data.
4. Alerting and Monitoring: It frequently has alerting capabilities that let users set up notifications based on pre-established parameters. This is essential for keeping an eye on systems and getting alerts when particular thresholds are exceeded.
5. User Management: Administrators are able to restrict access to particular dashboards and data by using OpenSearch Dashboards’ user authentication and authorization features, which are based on user roles and permissions.
6. Integration with Other Tools: Its adaptability might be increased by integration with additional technologies and data sources. This might contain connectors and plugins for different data sources, which facilitate the import and analysis of a wide range of datasets.
7. Customization: OpenSearch Dashboards frequently offer a significant degree of customization, enabling users to adapt the interface and visuals to their own requirements. Using third-party plugins and designing unique visualizations are two examples of this.
8. Open Source Community: OpenSearch Dashboards benefits from community contributions and participation as it is a part of the open-source ecosystem. In addition to sharing dashboards and benefiting from the community’s experience, users may also help build the tool.
Installing and Setting up OpenSearch-Dashboards
Download OpenSearch from official website or else use package managers for apt to install as mentioned in documentation for other package manager refer to the documentation. Copy the link of the download button and use wget to install.

wget https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/2.11.1/opensearch-dashboards-2.11.1-linux-x64.deb

Unzip the downloaded file,
sudo dpkg -i opensearch-dashboards-2.11.1-linux-x64.deb

Reload and enable, opensearch. Start and check the status of Opensearch
sudo systemctl daemon-reload
sudo systemctl enable opensearch-dashboards
sudo systemctl start opensearch-dashboards
sudo systemctl status opensearch-dashboards

Edit opensearch-dashboards.yml file in /etc/opensearch-dashboards and add the following code.
server.port: 5601
server.host: "0.0.0.0"
opensearch.hosts: ["https://0.0.0.0:9200"]
opensearch.ssl.verificationMode: none
opensearch.username: "admin"
opensearch.password: "<Pass>"
Save the file and exit, now restart opensearch-dashboards.
sudo systemctl restart opensearch-dashboards
Now try to access the opensearch-dashboard, running on port 5601,

Login using the username and password supplied in yml configuration file.
In the next blog I will share, how to setup logstash to send logs to OpenSearch.
Subscribe to our YouTube channel: https://www.youtube.com/@CyberToolGuardian/featured
Follow us on Instagram:
https://instagram.com/cybertoolguardian
Check out the website:
https://cybertoolguardain.com
Comments
Post a Comment