Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mention both Dashboards and endpoint #7638

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

smacrakis
Copy link
Contributor

Old text said that Dashboards are a prerequisite for using PPL, and mentioned only the Query Workbench, not the _ppl endpoint.

Is it really true that Dashboards are a prerequisite? Or is it just the SQL plugin that is a prerequisite?

Description

Describe what this change achieves.

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

Version

List the OpenSearch version to which this PR applies, e.g. 2.14, 2.12--2.14, or all.

Frontend features

If you're submitting documentation for an OpenSearch Dashboards feature, add a video that shows how a user will interact with the UI step by step. A voiceover is optional.

Checklist

  • By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
    For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Old text said that Dashboards are a prerequisite for using PPL, and mentioned only the Query Workbench, not the _ppl endpoint.

Is it really true that Dashboards are a prerequisite? Or is it just the SQL plugin that is a prerequisite?

Signed-off-by: Stavros Macrakis <[email protected]>
Copy link
Collaborator

@Naarcha-AWS Naarcha-AWS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small changes but otherwise LGTM.

@@ -37,7 +37,11 @@ PPL filters, transforms, and aggregates data using a series of commands. See [Co

## Using PPL within OpenSearch

To use PPL, you must have installed OpenSearch Dashboards. PPL is available within the [Query Workbench tool](https://playground.opensearch.org/app/opensearch-query-workbench#/). See the [Query Workbench]({{site.url}}{{site.baseurl}}/dashboards/query-workbench/) documentation for a tutorial on using PPL within OpenSearch.
You can run PPL queries interactively in OpenSearch Dashboards or programmatically using the ``_ppl`` endpoint.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
You can run PPL queries interactively in OpenSearch Dashboards or programmatically using the ``_ppl`` endpoint.
You can run PPL queries interactively in OpenSearch Dashboards or programmatically using the `_ppl` endpoint.

To use PPL, you must have installed OpenSearch Dashboards. PPL is available within the [Query Workbench tool](https://playground.opensearch.org/app/opensearch-query-workbench#/). See the [Query Workbench]({{site.url}}{{site.baseurl}}/dashboards/query-workbench/) documentation for a tutorial on using PPL within OpenSearch.
You can run PPL queries interactively in OpenSearch Dashboards or programmatically using the ``_ppl`` endpoint.

In OpenSearch Dashboards, the [Query Workbench tool](https://playground.opensearch.org/app/opensearch-query-workbench#/) provides an interactive testing environment, documented in [Query Workbench documentation]({{site.url}}{{site.baseurl}}/dashboards/query-workbench/).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In OpenSearch Dashboards, the [Query Workbench tool](https://playground.opensearch.org/app/opensearch-query-workbench#/) provides an interactive testing environment, documented in [Query Workbench documentation]({{site.url}}{{site.baseurl}}/dashboards/query-workbench/).
In OpenSearch Dashboards, the [Query Workbench tool](https://playground.opensearch.org/app/opensearch-query-workbench#/) provides an interactive testing environment. For more information, see the [Query Workbench documentation]({{site.url}}{{site.baseurl}}/dashboards/query-workbench/).

@Naarcha-AWS
Copy link
Collaborator

@smacrakis: I believe its the SQL plugin, since you can make PPL requests using the API.

@Naarcha-AWS Naarcha-AWS self-assigned this Jul 8, 2024
@smacrakis
Copy link
Contributor Author

Yes, I think the SQL plugin is required. Isn't it part of the default configuration? How do we generally document things like that?

@Naarcha-AWS
Copy link
Collaborator

The SQL plugin is bundled up install. We list all of the default and available plugins the following page in the bundled plugins section. https://opensearch.org/docs/latest/install-and-configure/plugins/#bundled-plugins.

@smacrakis
Copy link
Contributor Author

Understood. Users who start with the "minimum distribution" need to know that PPL depends on the SQL plugin. Most users have the SQL plugin by default. What I was asking is how we document things like this, where the information is not relevant to most users, but still needs to be available. Maybe something like "PPL is implemented by the SQL plugin, which is included in OpenSearch by default (link)." I don't know enough about plugins to get that language exactly right.

Signed-off-by: Naarcha-AWS <[email protected]>
@Naarcha-AWS
Copy link
Collaborator

I'll add that prerequisite as a note to this section.

@Naarcha-AWS Naarcha-AWS merged commit 0d9fc0e into opensearch-project:main Jul 9, 2024
5 checks passed
leanneeliatra pushed a commit to leanneeliatra/opensearch-documentation-website-forl that referenced this pull request Jul 24, 2024
* mention both Dashboards and endpoint

Old text said that Dashboards are a prerequisite for using PPL, and mentioned only the Query Workbench, not the _ppl endpoint.

Is it really true that Dashboards are a prerequisite? Or is it just the SQL plugin that is a prerequisite?

Signed-off-by: Stavros Macrakis <[email protected]>

* Update index.md

Signed-off-by: Naarcha-AWS <[email protected]>

---------

Signed-off-by: Stavros Macrakis <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Co-authored-by: Naarcha-AWS <[email protected]>
Signed-off-by: [email protected] <[email protected]>
sandervandegeijn pushed a commit to sandervandegeijn/documentation-website that referenced this pull request Jul 30, 2024
* mention both Dashboards and endpoint

Old text said that Dashboards are a prerequisite for using PPL, and mentioned only the Query Workbench, not the _ppl endpoint.

Is it really true that Dashboards are a prerequisite? Or is it just the SQL plugin that is a prerequisite?

Signed-off-by: Stavros Macrakis <[email protected]>

* Update index.md

Signed-off-by: Naarcha-AWS <[email protected]>

---------

Signed-off-by: Stavros Macrakis <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Co-authored-by: Naarcha-AWS <[email protected]>
Signed-off-by: Sander van de Geijn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants