-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with filters #30
Comments
@jimmyjones2 Sorry for the delay in responding. For the second problem, you can adjust the number of colors for the scales in the legend. The minimum number is 3 colors. As for the the filters, you could post a screenshot of the results in the spy panel, so I have an understanding of what elasticsearch is returning. |
{
"took": 120,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"failed": 0
},
"hits": {
"total": 29223,
"max_score": 0,
"hits": []
},
"aggregations": {
"2": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 92,
"buckets": [
{
"3": {
"buckets": {
"DestinationIp: 192.168.234.255": {
"doc_count": 2
},
"DestinationIp: 192.168.231.1": {
"doc_count": 0
}
}
},
"key": 137,
"doc_count": 19
},
{
"3": {
"buckets": {
"DestinationIp: 192.168.234.255": {
"doc_count": 0
},
"DestinationIp: 192.168.231.1": {
"doc_count": 0
}
}
},
"key": 80,
"doc_count": 8
},
{
"3": {
"buckets": {
"DestinationIp: 192.168.234.255": {
"doc_count": 0
},
"DestinationIp: 192.168.231.1": {
"doc_count": 0
}
}
},
"key": 5355,
"doc_count": 8
},
{
"3": {
"buckets": {
"DestinationIp: 192.168.234.255": {
"doc_count": 0
},
"DestinationIp: 192.168.231.1": {
"doc_count": 0
}
}
},
"key": 67,
"doc_count": 5
},
{
"3": {
"buckets": {
"DestinationIp: 192.168.234.255": {
"doc_count": 1
},
"DestinationIp: 192.168.231.1": {
"doc_count": 0
}
}
},
"key": 138,
"doc_count": 4
}
]
}
}
} |
@stormpython No worries, thanks for taking a look. Let me know if you need more details. |
@jimmyjones2 so by no results here, I am guessing you mean when results come back as zeros. Currently, zeros are included in the bucket count and so they are counted by the visualization and show up as a certain color. I think this issue is the same as #36, so I will close this one and look into an option which can exclude zeros from the count. |
If I use a filter, it still shows cells even when the filer returned no results:
Also scale should just have 1 colour in this example
The text was updated successfully, but these errors were encountered: