日志需求
{instance="172.31.16.240"}
1.766666670640305
{instance="172.31.26.137"}
grep '{.*}' txt.txt |grep -Eo '([0-9]{1,3}\.){3}[0-9]{1,3}' |wc -l
日志需求
{instance="172.31.16.240"}
1.766666670640305
{instance="172.31.26.137"}
grep '{.*}' txt.txt |grep -Eo '([0-9]{1,3}\.){3}[0-9]{1,3}' |wc -l
本文标题:grep 过滤ip
本文链接:https://www.haomeiwen.com/subject/fdeljdtx.html
网友评论