Hey, I am trying to get the value cluster_uuid_0339812d-21b9-4879-b058-942c6c1ab12e_openebs-volumes 45
from my prometheus query result -> {job=“cluster_uuid_0339812d-21b9-4879-b058-942c6c1ab12e_openebs-volumes”} 45 1525027537000 . Can anyone help me out with this ?
Using the regex /.*="((.*)"} (.*) )*/
, I am able to get the result as cluster_uuid_0339812d-21b9-4879-b058-942c6c1ab12e_openebs-volumes"} 45 but unable to remove "}
part from it .
How can this be achieved?
Thanks.
What have you tried? Try it as /.="((.)"} (.) )/
/.="((.)"} (.) )/
this regex returned me None
. Thanks for trying. More help would be appreciated.