I am getting files from various paths for the same index. I want to filter based on the file path or file date. I am trying with wildcards, regex still its not working. Where I am missing... ?? I needed any format for the path???
GET /my_store/products/_search { "query": { "wildcard": { "path": "/home/.*" } } }
My path field id "path": "/home/ES/CDR/Postpaid/SMSCDR_POSTPAID_160518080000_10.80.41.81_RS5.log"
. I want to search based on the hour. I tried this example https://www.elastic.co/guide/en/elasticsearch/guide/current/_wildcard_and_regexp_queries.html but returing null.