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

[Observability - Uptime - Synthetics] Monitor Management - Usage Agent Policy Default Namespace and Default Namespace #148565

Open
BenB196 opened this issue Jan 9, 2023 · 4 comments
Labels
Synthetics Team:obs-ux-management Observability Management User Experience Team

Comments

@BenB196
Copy link

BenB196 commented Jan 9, 2023

Describe the feature:

When creating a new Monitor under Monitor Management, I would like for the Data stream namespace to default to the default namespace of the agent policy being used. When creating multiple monitors, I would like to not need to manually change the namespace being setup, when I've already set my preferred namespace at the Agent policy level.

Describe a specific use case for the feature:

I use namespaces to segment data based on environment. This helps with having varying retention policies (via ILM). When I need to create new Monitors I need to remember that I need to change the namespace, or else they will all use default.

@botelastic botelastic bot added the needs-team Issues missing a team label label Jan 9, 2023
@dej611 dej611 added Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability Synthetics labels Jan 10, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 10, 2023
@smith smith added Team:obs-ux-management Observability Management User Experience Team and removed Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability labels Jul 8, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@dominiqueclarke
Copy link
Contributor

Hi @BenB196 ,

Currently, the Kibana space id is used as the default namespace for synthetics datastreams.

However, when the namespace is default it falls back to the agent policy namespace. That means that monitors saved in the default Kibana space automatically fall back to the agent policy namespace, whereas monitors that are saved in other Kibana spaces will utilize the id of that space as their namespace without falling back to the agent policy namespace.

Is this desired behavior for you? Or would you prefer your monitors to respect the agent policy namespace, regardless of the Kibana space they are saved in.

@BenB196
Copy link
Author

BenB196 commented Aug 12, 2024

Hi @dominiqueclarke in our case, I think we'd prefer monitors to respect the agent policy namespace. The way we use namespaces is like an additional RBAC layer, that is tied to the data and not to the Kibana namespace, where we have agent policy namespaces like:

  • public.default.development
  • private.default.development
  • public.default.production
  • private.default.production

This allows us to more finely control who can access what more easily. With the current default of using Kibana space name, we've had issues where people forget to update the namespace, and it results in users not being able to correctly access data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Synthetics Team:obs-ux-management Observability Management User Experience Team
Projects
None yet
Development

No branches or pull requests

5 participants