Edit

Share via


Entity groups

Applies to: ✅ Microsoft FabricAzure Data Explorer

Entity groups are named entities stored in a database that the macro-expand query operator can reference.

Storing an entity group in the database, instead of providing its value in the query text itself, makes it easier to manage these objects.

Management commands

Function Description
.alter entity_group Alters an existing entity group and stores it inside the database metadata.
.alter-merge entity_group Alters and merges the value of an existing entity group.
.create entity_group Creates a stored entity group.
.drop entity_group Drops an entity group from the database.
.show entity_group(s) Lists all the stored entity groups, or a specific entity group, in the current database.

Note

A query can only reference entity groups defined in the query text or in the scoped database. Out-of-scope entity groups that aren't within the query or database can’t be directly or indirectly referenced.