Documentation terminology

How do I lookup parameters in elastic documentation? Take the following code for example:

GET logs_server*/_search
{
  "size": 0,
  "aggs": {
    "status_code_buckets": {
      "terms": {
        "field": "status_code"
      },
      "aggs": {
        "runtime": {
          "percentiles": {
            "field": "runtime_ms",
            "percents": [50]
          }
        }
      }
    }
  }
}

If I wanted to look up "terms" and "size" in elastic documentation, what would I search for?

If you are typing your code in the Dev Tools of Kibana you can click on "terms," say, and then type cntr + / to bring up documentation automatically. You can also find a documentation link under the wrench icon near the code.
In general, I like to get to documentation by going to elastic.co, scrolling all the way to the bottom to find the link "Documentation." Another good trick would be to go to your-favorite-public-search and type "site:elastic.co" to isolate your results to Elastic pages. So in DuckDuckGo I'd type "aggs terms site:elastic.co" for example. The terms aggregation page with list and explain all the allowed parameters.

2 Likes

Thanks so much! Those are some awesome tips.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.