cortex-tools
cortex-tools copied to clipboard
Not able to load or prepare loki recording rule with Cortex 0.10.7
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
But running check and lint the file with "cortextool rules check/lint --backend=loki