Sumo Logic allows you to create a custom URL, manually or programmatically, that will launch a specific search query in Sumo Logic from another application. This search query URL must use a specific time range.

To create a custom search query URL, use the following format:

https://sumo-logic-url#section/search/@startMs,endMs@urlEncodedQuery


Example:

Let’s create a URL for the following search query:

test query | count by _source

Using this time range:

Wed Feb 26 2014 13:58:11 GMT-0800 (PST)

to:

Wed Feb 26 2014 13:58:21 GMT-0800 (PST)

So, the custom URL that launches this search query in the Sumo Logic Search page would look like this:

https://service.sumologic.com/ui/index.html#section/search/@1393451891051,1393451901051@test%20query%20%7C%20count%20by%20_source