Is It possible do two different searches and write the output data in another index?
Yes it is. You can collect the output of the search string and place it into another index.
<your_searches> | collect index=<your_index>
If you comment with your full search string we can help more.
View solution in original post