2023/07/07 16:38:45 [error] 71292#71292: *1 open() "/usr/share/nginx/html/a.txt" failed (2: No such file or directory), client: 192.168.50.203, server: _, request: "GET /a.txt HTTP/1.1", host: "192.168.51.55"
这个是我nginx错误日志的内容请教下我文件中怎么写规则才能把这个作为指标的内容 比如下面这种形式
nginx_err_log{ident="localhost.localdomain",instance="2023/07/07 16:38:45 [error] 71292#71292: *1 open() "/usr/share/nginx/html/a.txt" failed (2: No such file or directory), client: 192.168.50.203, server: _, request: "GET /a.txt HTTP/1.1", host: "192.168.51.55""}
有点没明白是怎样可以传指标的