clef-tool icon indicating copy to clipboard operation
clef-tool copied to clipboard

Requested value 'warning' was not found.

Open thnk2wn opened this issue 1 year ago • 1 comments

> clef -i <filename> --format-json
Requested value 'warning' was not found.

Installed via:

> dotnet tool install --global Datalust.ClefTool

Skipping NuGet package signature verification.
You can invoke the tool using the following command: clef
Tool 'datalust.cleftool' (version '2.0.64') was successfully installed.

thnk2wn avatar Feb 13 '24 16:02 thnk2wn

Thanks for the report, @thnk2wn. Unfortunately CLEF tool is fairly limited in what it will accept - the Serilog-style uppercase level names are required.

seqcli print is an updated version of this command, in case you're able to access it?

seqcli print [<args>]

Pretty-print events in CLEF/JSON format, from a file or `STDIN`

Example:
  seqcli print -i log-20201028.clef

Arguments:
  -i, --input=VALUE          CLEF file to read, including the `*` wildcard; if
                               not specified, `STDIN` will be used
  -f, --filter=VALUE         Filter expression to select a subset of events
      --template=VALUE       Specify an output template to control plain text
                               formatting
      --invalid-data=VALUE   Specify how invalid data is handled: `fail` (
                               default) or `ignore`
      --no-color             Don't colorize text output
      --force-color          Force redirected output to have ANSI color (
                               unless `--no-color` is also specified)
      --verbose              Print verbose output to `STDERR`

nblumhardt avatar Feb 14 '24 10:02 nblumhardt