How to match "/" when search?

ELK version: 5.4.1

I want to search "/1/p", and I use "\/1\/p\/" can match 1 and p, but "/" seems lost, I need to transform "/" to a string...

Maybe you can use filter like this:

{
  "query": {
    "match": {
      "uripath": {
        "query": "/1/p",
        "type": "phrase"
      }
    }
  }
}

how to use this filter in kibana search box.....?


I found the guide... thank you !

https://www.elastic.co/guide/en/kibana/current/field-filter.html

but the result is the same, the "/" still not been matched.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.