Loki 查询的二元运算符是否存在?是否有解决方法来实现这样的目标?
{job="myService"}
|~"AI Unable to update the session state in"
OR
|~"Database Write Error"
Loki 查询的二元运算符是否存在?是否有解决方法来实现这样的目标?
{job="myService"}
|~"AI Unable to update the session state in"
OR
|~"Database Write Error"
不,您不能这样做,但您可以执行以下操作:
{job="myService"} |~ "AI Unable to update the session state in|Database Write Error"
或以下内容:
count_over_time({job="myService"} |~ "AI Unable to update the session state in" [1h])
or
count_over_time({job="myService"} |~ "Database Write Error" [1h])