Is it possible to pass the query parameters for a search in the Sumologic URL?

Comments

1 comment

  • Official comment
    Avatar
    Raghu Murthy

    Hi Chitra,

     

    I apologize for the delayed reply.

     

    Here is a documentation link that has the following procedure that talks about how to pass the query parameters for a search in a URL

     

    Use a URL to Run a Search
     
    You can create a custom URL to launch a log search in Sumo Logic.

    Syntax

    https://<endpoint>/ui/index.html#section/search/@<start>,<end>@<urlEncodedQuery>

    • <endpoint> is your Sumo Logic service endpoint. See Sumo Logic Endpoints and Firewall Security for the endpoint URLs.  
    • <start> is the start of your log query time range, the value can be either:
    • <end> is the end of your log query time range, the value can be either:
    • <urlEncodedQuery> is the text of your log search query in URL encoded format.
     
    Hope that helps
     
    Kind regards
    Raghu

     

    Comment actions Permalink

Please sign in to leave a comment.