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.
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.