ES|QL TS command The TS source command is similar to the FROM source command, with the following key differences: - Targets only time series indices - Enables the use of time series aggregation functions inside the STATS command TS index_pattern [METADATA fields] - index_pattern - A list of indices, data streams or aliases.