bbrf-client
bbrf-client copied to clipboard
`scope` filtering in urls are not working properly
Hi, I added some data in this format
➜ test git:(main) ✗ b urls | tail
https://xmn02gw.corp.connect.dell.com 404 152
https://xmn02gw1-myconnect.dell.com 404 152
https://xmn02gw1.corp.connect.dell.com 404 152
https://xmn02gw3-myconnect.dell.com 404 152
https://xmn02gw4-myconnect.dell.com 200 170
https://xmn02pregw.corp.connect.dell.com 404 152
https://xtmg.ins.dell.com 302
https://xtremiosizer.dell.com 302 142
https://yourid.dell.com 403 265
https://zh.community.dell.com 301 203
How should I filter those data based on status right? For example - the server also thinks it has a status code
➜ test git:(main) ✗ b show https://xmn02gw.corp.connect.dell.com | jq
{
"_id": "https://xmn02gw.corp.connect.dell.com",
"_rev": "3-03d22d52e00ca7de1b2d57330b878773",
"hostname": "xmn02gw.corp.connect.dell.com",
"port": 443,
"status": 404,
"content_length": 152,
"query": [],
"scheme": "https",
"path": "",
"source": "monitor.sh",
"tags": {
"scanned": "28-06-2024",
"host": "dell.com"
},
"program": "dell-com",
"type": "url"
}
But whatever I do I can't filter with status it returns 0 results. WHY? before I used to use it as tag -t status:404 and it worked but tags don't show properly https://bbrf.me that's why I started using as it is. But when I use
➜ test git:(main) ✗ b urls where status is 404 | wc -l
0
It's not working. I don't know what to do. Can you give me some updates about this?