We have ELK 7.6.2 stack running with number of indices in place.
One of the fields in the indices is called requestID which has a unique value e.g. 1-01-TV-PCVEFOW6JXMZSMEVUZBWXPWRFFMPEIG10411767701@1-21506255#10
I want to search across "all" indices for the value mentioned above and fetch complete data related to the field. All the indices have a common prefix (prod_tv*)
In my case the value 1-01-TV-PCVEFOW6JXMZSMEVUZBWXPWRFFMPEIG10411767701@1-21506255#10 appears in "two" indices one being prod_tv_web_tmkt_access* and the other as prod_tv_tlite_access* and is presented as "requestID" in one and "refID" in the second .
Now if in the dev tools I put the following, it returns the occurence along with lot of unrealted info:
GET /prod_tv_*/_search?q=requestId:1-01-TV-PCVEFOW6JXMZSMEVUZBWXPWRFFMPEIG10411767701@1-21506255#10
Please let me know if my approach is correct and if there is a way I could add 'OR' to make it look like below. Also I need to get rid of the unrelated info:
GET /prod_tv_*/_search?q=<requestId OR refID>:1-01-TV-PCVEFOW6JXMZSMEVUZBWXPWRFFMPEIG10411767701@1-21506255#10
Additionally I am unable to make use of the Multi-Target syntax in this scenario. Any help would be appreicated.
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.