opensearch-docs-cn/_dashboards/dev-tools/index-dev.md

21 lines
1.8 KiB
Markdown
Raw Normal View History

---
layout: default
title: Dev Tools
nav_order: 100
has_children: true
---
# Dev Tools
Interact directly with OpenSearch by using **Dev Tools** to set up your OpenSearch Dashboards environment, run queries, explore data, and debug problems. To access the Dev Tools console, select **Dev Tools** from the **Management** menu on the OpenSearch Dashboards home page. The following are examples of how you can use the Dev Tools console in OpenSearch Dashboards:
- Set up your OpenSearch Dashboards environment. For example, you can use the console to configure authentication settings for your OpenSearch Dashboards instance.
- [Run queries to explore your data]({{site.url}}{{site.baseurl}}/dashboards/dev-tools/run-queries/). For example, you can use the console to run a query to find all the documents in your index that contain a specific word.
- Debug problems with your queries. For example, if your query is not returning the results you expect, you can use the console to look for error messages and identify the problem.
- Learn about the APIs in OpenSearch. For example, you can use the API reference documentation linked in the console (select the question circle icon ({::nomarkdown}<img src="{{site.url}}{{site.baseurl}}/images/icons/question-circle.png" class="inline-icon" alt="question circle icon"/>{:/})) to look up the syntax for different API calls.
- Develop custom visualizations. For example, you can use the console to create Vega visualizations.
- Customize the appearance and behavior of dashboards. For example, you can use the console to customize dashboard visualization colors or to add new filters.
- Identify and fix bugs. For example, you can use the console to view logs and identify the cause of the problem.
The Dev Tools console is a valuable resource for developers, analysts, and anyone else who works with OpenSearch data.