Working with Service and Tenant

How do I Get Details About a Specific Tenant

Problem

I have an admin role in the WellLine system and need to find out information about a tenant I have access to.

Solution

Use the capabilities provided by the tenant query.

Query

The following query shows how to get the index information of a specific tenant.

query tenant {
tenant(tenantId:"equinor") {
id
indexInfo {
id
count
bytes
}
}
}

Description

  • Only users with admin roles have access to this query

  • See the tenants page for more information on tenants

How do I Get Details About the Entire System

Problem

I have an admin role in the WellLine system and need to find out information about a the entire system.

Solution

Use the capabilities provided by the system query.

Query

The following query shows how to get the service-level information of an entire WellLine installation / system.

query service {
serviceInfo {
name
environment
}
}

Description

  • Only users with admin roles have access to this query