.alter ingestion time policy

Enable or disable a table's ingestion time policy. Azure Data Explorer can add an optional policy for tables to create a hidden datetime column in the table, called $IngestionTime. Whenever new data is ingested, the time of ingestion is recorded in the hidden column.

Syntax

.alter table TableName policy ingestiontime [true|false] .alter tables (TableName, ...) policy ingestiontime [true|false]

Arguments

TableName - Specify the name of the table.

Examples

To enable the policy:

.alter table table_name policy ingestiontime true

To disable the policies of multiple tables:

.alter tables (table1, table2) policy ingestiontime false