/
Elastic Log Search Macro

Elastic Log Search Macro

STEP-1

Go to Space Tools > Add-ons > Elastic Log

Add Elastic Log configuration

elastic_log_search_01.PNG

Create query with input {0} to insert search text from macro.

{
  "query": {
    "multi_match": {
      "query": "{0}",
      "fields": [
        "field_1",
        "field_2"
      ],
      "operator": "or"
    }
  },
  "size": 100,
  "sort" : {
    "date": { "order": "desc" }
  }
}
{
  "query": {
    "match": {
      "_all": "{0}"
    }
  },
  "size": 100,
  "sort" : {
    "date": { "order": "desc" }
  }
}


STEP-2

elastic_log_search_02.PNG


STEP-3

elastic_log_search_03.PNG


STEP-4

elastic_log_search_04.PNG

Related content

Elastic Log Search Form Macro
Elastic Log Search Form Macro
More like this
Elasticsearch Query Samples
Elasticsearch Query Samples
More like this
Elasticsearch Query
Elasticsearch Query
More like this
Elastic Log For Confluence
Elastic Log For Confluence
More like this
Elastic Log Charts
Elastic Log Charts
More like this
Elastic Log For Jira
Elastic Log For Jira
More like this