Plugin version:
6.3.1
Kibana version:
6.3.1
Plugins installed:
KNQL, kibana-object-format(Installed, but not used)
Description of the problem including expected versus actual behavior:
I am having an issue using your Query syntax where I do not believe it is working in some cases.
I am not sure if it is me, or the language itself.
In The below screenshot you can see that I perform a search on _id and I am able to return the document containing the ID of 1.
In this below Screenshot, you can see that I try to search on a nested field and should only return the 1 document containing that value, but still all 5 records in my Index are returned, signifying to me that the query did no work. LGMC is only present in 1 document in the field message.MSH.MSH-4.
Below is what I am using for mappings to create this index.
From here I put a JSON object into the message field.
I can query message.MSH.MSH-4 before I apply your plugin.
However, after applying the plugin, I don't seem to have the ability to search this field anymore using the KNQL language.
The query completes without error, but returns the same number of documents as the last successful search, which was *.
Any insight on this would be greatly appreciated.
Please let me know if you would rather have this in a Github ticket, or more information is required.
PUT composite_test
{
"mappings": {
"doc": {
"properties": {
"message": {
"type": "object"
}
}
}
}
}
Steps to reproduce:
- Create an index with one field with type object. Enable Plugin.
- Index a document putting a JSON object in the one field created in step 1. Json should contain Nested JSON objects.
- Search in Discover for an element in a nested part of the above JSON.
I should note that we are currently working on our data model, and I strayed away from using NESTED as a type for the field, as Dashboards did not seem to work with Nested, and queries seem to need to have special Nested query syntax. Using Object as a type allowed for quick Dashboard creation and queries that did not rely on Nested query terminology. We do love how this plugin works and makes our Discovery output look readable, but it is the search bar in Discover that is the only thing that does not work, and we would like to still be able to use it. If we disable the plugin with the current data model (Field=Object), then Discover Search bar works just fine. Cheers!
Errors in browser console (if relevant):
No Errors.
Provide logs and/or server output (if relevant):
I tailed both ES and Kibana logs, and there was no output.
If using docker, include your docker file:
Describe the feature:
Plugin version:
6.3.1
Kibana version:
6.3.1
Plugins installed:
KNQL, kibana-object-format(Installed, but not used)
Description of the problem including expected versus actual behavior:
I am having an issue using your Query syntax where I do not believe it is working in some cases.
I am not sure if it is me, or the language itself.
In The below screenshot you can see that I perform a search on _id and I am able to return the document containing the ID of 1.
In this below Screenshot, you can see that I try to search on a nested field and should only return the 1 document containing that value, but still all 5 records in my Index are returned, signifying to me that the query did no work. LGMC is only present in 1 document in the field message.MSH.MSH-4.
Below is what I am using for mappings to create this index.
From here I put a JSON object into the message field.
I can query message.MSH.MSH-4 before I apply your plugin.
However, after applying the plugin, I don't seem to have the ability to search this field anymore using the KNQL language.
The query completes without error, but returns the same number of documents as the last successful search, which was *.
Any insight on this would be greatly appreciated.
Please let me know if you would rather have this in a Github ticket, or more information is required.
PUT composite_test
{
"mappings": {
"doc": {
"properties": {
"message": {
"type": "object"
}
}
}
}
}
Steps to reproduce:
I should note that we are currently working on our data model, and I strayed away from using NESTED as a type for the field, as Dashboards did not seem to work with Nested, and queries seem to need to have special Nested query syntax. Using Object as a type allowed for quick Dashboard creation and queries that did not rely on Nested query terminology. We do love how this plugin works and makes our Discovery output look readable, but it is the search bar in Discover that is the only thing that does not work, and we would like to still be able to use it. If we disable the plugin with the current data model (Field=Object), then Discover Search bar works just fine. Cheers!
Errors in browser console (if relevant):
No Errors.
Provide logs and/or server output (if relevant):
I tailed both ES and Kibana logs, and there was no output.
If using docker, include your docker file:
Describe the feature: