Search by field which value matches value from another query

Comments

4 comments

  • Official comment
    Avatar
    Angad Singh

    Hi Elena,

    Thanks for posting your question. Right now we don't have a subquery capability in the product that would allow you to pass results from one as input for another query. However, we are actively working on developing it. I will reach out to you specifically to understand more about your use-case.

     

    For now, your best bet is to use a JOIN and then discard the columns from your second query that you don't need. 

     

    Regards

    Angad

    Product Manager

    Comment actions Permalink
  • Avatar
    Jason Gianfrancesco

    I've also got a use-case for this functionality.  Any update?

    0
    Comment actions Permalink
  • Avatar
    Azriel Nguyen

    isn't it possible to just do:

    _sourceCategory=* where id="id from query 1"

    ?

    0
    Comment actions Permalink
  • Avatar
    Piotr Woch

    Currently we are running a Beta program for our new operator: subquery. It should allow you to do things you are looking to do - please just be mindful it is in a beta program right now:

    https://help.sumologic.com/Beta/Beta_-_Subqueries/Beta_-_Subqueries

    0
    Comment actions Permalink

Please sign in to leave a comment.