Spaces using roles

I'm wanting to monitor by space groups.
Perform the steps to create the spaces and when adding the agent, the line of space was placed: space.id: "name_server"
But when observing with the monitoring I enter the space and I see all the servers.
Please, someone in the group can help me with how to configure properly

Welcome to our community! :smiley:

Can you elaborate on what you mean by spaces?