Open bhavyarm opened 5 years ago
Pinging @elastic/kibana-app (Team:KibanaApp)
Pinging @elastic/kibana-app-arch (Team:AppArch)
This is a limitation/frustration I'm having with the user-interface as well. I'm running 7.9.0, but this has been around for a while.
I find myself throwing junk values into the UI-based filter, saving, then going in and editing the DSL to be what I actually want and it works.
Additionally, IPv6 addresses are not recognized. Same thing - you can toss in junk IPv4 values to get a DSL structure, then edit IPv6 in place.
It's worth noting that I've verified from my side that Kibana sees the data type as ip
and that server-side data-type is ip
as well. If you're targeting any sort of network use-cases, having CIDR-based searches is kind of an expectation.
I, too, would like to see this issue addressed.
Our Security Operations team makes use of the filtering UI in Kibana, and have been frustrated that they cannot do a CIDR search without dropping back to Lucene/KQL. It confuses them, especially since all of the training they took on Kibana emphasized the use of the filtering UI.
This seems like a simple fix that will net significant productivity gains for people using the Elastic Stack for SIEM and network operations use cases.
-Greg Mackinnon Yale University
Work around Gif added:
This is still an issue, while toddfergs workaround works very well....
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)
Pinging @elastic/kibana-visualizations (Team:Visualizations)
linking a solution in the controls project https://github.com/elastic/kibana/issues/184900
Kibana version: 7.5.0 BC4 same bug in other locations
Elasticsearch version: 7.5.0 BC4 same bug in other locations
Server OS version: darwin_x86_64
Browser version: chrome latest
Browser OS version: OS X
Original install method (e.g. download page, yum, from source, etc.): from staging
Describe the bug: User cannot save a filter if she tries to use ip value with CIDR notation value.
Steps to reproduce:
PUT ip_addr/_doc/2 { "ip_addr": "196.168.2.1" }
GET ip_addr/_search { "query": { "term": { "ip_addr": "196.168.0.0/16" } } }