Context query unavailable in destination Logstore

Updated at:
Copy as MD

After a data transformation task distributes results to a destination Logstore, the context query feature may be unavailable. Set system.control.filter_pack_id:false in the advanced parameter settings to restore it.

Cause

When a data transformation task adds or removes fields from raw logs, Simple Log Service reassembles the log group, which invalidates the original context information. To prevent broken context from reaching the destination Logstore, Simple Log Service filters all context information by default — which also disables the context query feature in the destination Logstore.

Solution

When you create or modify a data transformation task, go to Advanced parameter settings and set system.control.filter_pack_id:false.

  • Description: Controls whether context information is filtered before logs are written to the destination Logstore.

  • Valid values:

    • true (default): Filters all context information. The context query feature is unavailable in the destination Logstore.

    • false: Retains context information so the context query feature is available in the destination Logstore. For tasks used solely for data replication, all context information from raw logs is preserved.