Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Logsene supports a subset of Elasticsearch API's, with rich query language and extensive capabilities of searching through the data you've send sent to Logsene. The supported Search API's are:

...

For each of the operations you'll need your Logsene application token and send the requests to when calling logsene-receiver.sematext.com. In the following examples we will use the a "dummy token" - cc5e9c1b-3046-4e43-998e-2a0b2c01b912 as the token, however please remember to change it for your Logsene application token.  You should use your real Logsene App token, of course.

URI based search

The most simple search method to get your data out of Logsene fully compatible with URI Search in Elasticsearch (https://www.elastic.co/guide/en/elasticsearch/reference/current/search-uri-request.html). You need to provide the query using the q parameter. For example to search for the internal and connection terms you could run the following command:

...