You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might interest you @varunsharma27 and @AnnaGerber; I've been using this plugin in Kibana 6.2.3 and everything has been working well, however we noticed that when a filter is added in the dashboard, the field name referenced doesn't actually get saved and is replaced by a "*" character:
The DSL structure of the filter gets added like this:
This isn't too much of a problem if you've your using queries that don't overlap other indices or using unique values; but could become a problem matching identical strings in other fields other than what the drop down picker was originally used to scope the selection with.
Adding this filter manually and pasting in the above top DSL query string, results in the same behaviour experienced by the dropdown picker. That would indicate that there is something wrong with Kibana using the query_string DSL as a filter in Kibana 6.2.3.
So one might ask, should we be better off changing the structure to something that is more default these days. When you add a filter in Kibana, the default for an exact match is like so:
It is still a problem of sorts; I haven't tried the latest version of Kibana or a prior version of Kibana to test it out, just thought I'd open an issue for discussion. I might try to adapt the structure if I get around to understanding the plugin javascript, but it'd be nice to get this confirmed in other Kibana versions.
The text was updated successfully, but these errors were encountered:
berglh
changed the title
Field Name not Stored in Kibana Filter after Dropdown selection
Field name not stored in Kibana Filter after dropdown selection
Jul 9, 2018
berglh
changed the title
Field name not stored in Kibana Filter after dropdown selection
Field name not stored in Kibana filter after dropdown selection
Jul 9, 2018
Thanks for looking into this, seems like it would be a good idea to move to the new format, but as you say, would need to confirm with other Kibana versions. Feel free to create a PR if you get around to it.
This might interest you @varunsharma27 and @AnnaGerber; I've been using this plugin in Kibana 6.2.3 and everything has been working well, however we noticed that when a filter is added in the dashboard, the field name referenced doesn't actually get saved and is replaced by a
"*"
character:The DSL structure of the filter gets added like this:
However, when this filter is "saved" the
default_field
value is lost and replaced with a "*".This isn't too much of a problem if you've your using queries that don't overlap other indices or using unique values; but could become a problem matching identical strings in other fields other than what the drop down picker was originally used to scope the selection with.
Adding this filter manually and pasting in the above top DSL query string, results in the same behaviour experienced by the dropdown picker. That would indicate that there is something wrong with Kibana using the query_string DSL as a filter in Kibana 6.2.3.
So one might ask, should we be better off changing the structure to something that is more default these days. When you add a filter in Kibana, the default for an exact match is like so:
I'm not highlighting that the old method is incorrect; according to the ES documentation; this is still a valid query structure: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html
It is still a problem of sorts; I haven't tried the latest version of Kibana or a prior version of Kibana to test it out, just thought I'd open an issue for discussion. I might try to adapt the structure if I get around to understanding the plugin javascript, but it'd be nice to get this confirmed in other Kibana versions.
The text was updated successfully, but these errors were encountered: