# Search using multiple strings

**URL:** <https://discuss.elastic.co/t/search-using-multiple-strings/220089>\
**Category:** Elasticsearch\
**Created:** [February 20, 2020, 5:21am UTC](https://discuss.elastic.co/t/search-using-multiple-strings/220089 "2020-02-20T05:21:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darshan\_Kamat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/darshan_kamat/32/44993_2.png) [@Darshan\_Kamat](https://discuss.elastic.co/u/Darshan_Kamat)\
**Post date:** [February 20, 2020, 5:21am UTC](https://discuss.elastic.co/t/search-using-multiple-strings/220089/1 "2020-02-20T05:21:01Z")

</div>

i have below setup

Filebeat-\>es\<-Kibana

i need to capture 3 api logs with order id .

I have logs like below ::

2020 Feb 19 10:10:06:136---\> API 1 order id -\<\>

\<\<---SOAP XML Payload logs of API 1 --\>\>

2020 Feb 19 10:10:06:136---\> API 2 order id -\<\>

\<\<---SOAP XML Payload logs of API 2 --\>\>

2020 Feb 19 10:10:06:136---\> API 3 order id -\<\>

\<\<---SOAP XML Payload logs of API 3 --\>\>

I need to have search something like

1. orderid which will fetch all the order id logs
2. Something like orderid + api1 --\>should fetch logs only of -SOAP XML Payload logs of API 1  
Similarly orderid + api2--\>should fetch logs only of -SOAP XML Payload logs of API 2

etc .

Can anyone suggest the best way to implement this . Search queries will be from kibana.

ES VERSION : -7.5.2020

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 19, 2020, 5:21am UTC](https://discuss.elastic.co/t/search-using-multiple-strings/220089/2 "2020-03-19T05:21:13Z")

</div>

Closed on March 19, 2020, 5:21am UTC

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