如何在我要验证单个表达式中是否存在Pthhhsy_a2s
和05B1_LA coy to inl IP on L-A Lr
的情况下编写正则表达式。
Pthhhsy_a2s{instance="18.276.193.51:8080",job="appscv",appid="134887",appname="GP_S3_N1#05B1_LA coy to inl IP on L-A Lr}
我尝试过/Pthhhsy_a2s.*05B1_LA coy to inl IP on L-A Lr/
但是这没有帮助吗?
谢谢
您可以先行完成两次:
/(?=.*Pthhhsy_a2s.*)(?=.*05B1_LA coy to inl IP on L-A Lr.*)/
我不确定正则表达式的Grafana语法,所以请告诉我这对您如何起作用。