Skip to content

Search with wildcard returns no results after compressing structured logs without --timestamp-key #1075

@coderabbitai

Description

@coderabbitai

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

  1. Compress structured logs without --timestamp-key:

    compress.sh --dataset dataset1 postgresql.log
  2. 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions