cortex-tools icon indicating copy to clipboard operation
cortex-tools copied to clipboard

Not able to load or prepare loki recording rule with Cortex 0.10.7

Open frankbaumfalk opened this issue 2 years ago • 0 comments

When trying to prepare and load a loki recording rule with

 "cortextool rules load --backend=loki <file>"

I get the error : "cortextool: error: 1:52: parse error: unexpected character: '|', try --help". (This is usually the error when a pipe sign is used in the expression and flag "--backend=loki" is not passed.) A "cortextool rules prepare --backend=loki " does not work either.

But running check and lint the file with "cortextool rules check/lint --backend=loki " gives no error. What do I miss ? Thx in advance.

frankbaumfalk avatar Mar 04 '23 06:03 frankbaumfalk