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

[ENHANCEMENT] Can not create monitor in the coordinating cluster when it involves remote indices #570

Open
maumrsms opened this issue Dec 15, 2021 · 5 comments
Labels

Comments

@maumrsms
Copy link

Describe the bug
Hello team! I've been running some tests to check if this Opendistro bug, is already fixed in Opensearch and, as far as I checked, it is not. I managed to replicate the same situation in Opensearch 1.2.0.
Also tried adding the monitor using the alerting API, and got the same result as the mentioned issue.

Having this said, is it an expected behavior or a known issue? Is there any workaround?
Are there any plans on adding this feature or fixing it?

To Reproduce
Steps to reproduce the behavior:

  1. Enable Cross Cluster Search as explained here.
  2. Try to create a monitor based on a remote cluster index.
  3. You'll see only local indices from the coordinating cluster.

Expected behavior
Having the possibility of selecting all indices (from remote clusters and from the coordinating one).

Plugins
Default installation. No plugin added.

Screenshots
Remote index seen in Coordinating cluster:
image

Coordinating cluster indices only in Alerting:
image

Error after creating the monitor with the Alerting API:
image

Host/Environment (please complete the following information):

  • Deployed using Docker running on Ubuntu 21.10
  • Version: Opensearch 1.2.0

Additional context
Add any other context about the problem here.

@anasalkouz anasalkouz transferred this issue from opensearch-project/OpenSearch Dec 28, 2021
@williamhargrove
Copy link

Any movement on this issue or further work around? Am facing the exact same issue one year later. Thanks.

@kavilla
Copy link
Member

kavilla commented Jun 1, 2023

@opensearch-project/admin this actually seems to be an issue within alerting dashboards plugin. Can this get transferred?

@bbarani bbarani transferred this issue from opensearch-project/cross-cluster-replication Jun 1, 2023
@bbarani
Copy link
Member

bbarani commented Jun 1, 2023

@kavilla transferring the issue to alerting dashboards plugin repo.

@AWSHurneyt AWSHurneyt added bug Something isn't working enhancement New feature or request cross-cluster-monitor and removed untriaged bug Something isn't working labels Jun 8, 2023
@AWSHurneyt AWSHurneyt changed the title [BUG] Can not create monitor in the coordinating cluster when it involves remote indices [ENHANCEMENT] Can not create monitor in the coordinating cluster when it involves remote indices Jun 13, 2023
@AWSHurneyt
Copy link
Collaborator

Hi @maumrsms! Alerting monitors don't currently support this, but we do plan to integrate the alerting plugin with the cross cluster plugin to support these kind of use cases. We don't have a release date yet, but I'll adjust the labels on this issue so we can more easily reference it in a meta issue for that feature.

@smuthukaruppannp
Copy link

I would like to submit a PR for this issue. I have made the following high level changes and verified that i am able to create monitors with remote indices using the Dashboard

  1. Use the /_resolve/index/ api to fetch remote indices and aliases (similar to index_pattern_management)
  2. Use the /_field_caps api to fetch field mappings for remote indices (similar to index_pattern_management)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants