so i have a field named uri_api and some of them have a value like this:
/scrt/kpi/v3/code/shean%20jeremy%20patok
i want to search other value like that in uri_api field. how can i achieve it? i already try it like this but it doesn't return any result: uri_api : *%20*
then i try make a query like this and it give me the result : uri_api : *20*
so my question is why i can't use special character to search some value? based on this documentation, it says the characters that must be escaped just this
Is there any error message? If you don't see any error messages, I suggest you try copying and pasting this full uri_api value for testing purposes. As it contains % it shouldn't work without escaping the character as well.
Additionally, please ensure that the time range is correct. You can perform a test using uri_api: * and check if the documents containing %20 are included.
The full uri_api value is same with i wrote before. And for the time range i'm sure there's no problem there but for error full message maybe i can send you later.
But for sure the value of uri_api is exactly same with i mention before. So you can test it locally. Thanks
What version of Elastic are you using? I would appreciate it if you could share the error message with me. This will help me better understand the context in which the error occurred.
If your goal is to be able to fetch data trough the Kibana Discover query bar, you can add a filter “+ Add Filter” and click “Edit as Query DSL” and then for something similar to what you want I would use a query_string query and save the filter.
so i had a field that have these types of value. note that the value is actually pretty long. these are just the snippets and the name of the field is requestPayload
"hho/uFChjOENdwrbN 7hWw=="
"hho/uFChjOENdwrbN+7hWw=="
i want to search requestPayload field that has value like #1. but it seems if i use query like requestPayload.keyword : *hho/uFChjOENdwrbN 7hWw==* it doesn't give me the result. it keeps give me the result of type #2 which has + on it, not space
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.