Description
A bug has been identified where searching with wildcard * returns no results when the logs were compressed without specifying the --timestamp-key argument for structured logs.
Steps to Reproduce
-
Compress structured logs without --timestamp-key:
compress.sh --dataset dataset1 postgresql.log
-
Search with wildcard:
search.sh --begin-time -100000 --end-time 2000000000000 --dataset dataset1 \*
Expected Behavior
We should prevent user from compress a log w/o the --timestamp-key argument.
Actual Behavior
The files are submitted to the package without warning.
Additional Context
Environment
- Component: clp-package
- Affects: WebUI search functionality