cockroachlabs / visus

Extended performance metrics
Apache License 2.0
7 stars 3 forks source link

log scanner: adding cli to managing scans. #121

Closed sravotto closed 1 month ago

sravotto commented 2 months ago

This change adds a subcommand to the visus cli to manage scans, allowing users to add/delete/view/test scan configurations in the database.

The configuration is represented in a yaml file, like in the following example:

name: cockroach_log
enabled: true
format: crdb-v2
path: /var/logs/cockroach.log
patterns:
  - name : events
    regex:
    help : number of events

This change is Reviewable

sravotto commented 1 month ago

closing in favor of #124