[[elasticsearch-reference]]
= Elasticsearch Reference

:include-xpack:         true

:xes-repo-dir:          {docdir}
:es-repo-dir:           {docdir}/../../../../elasticsearch/docs
:es-test-dir:           {docdir}/../../../../elasticsearch/docs/src/test
:plugins-examples-dir:  {docdir}/../../../../elasticsearch/plugins/examples

:security:              X-Pack security
:monitoring:            X-Pack monitoring
:watcher:               Watcher
:reporting:             X-Pack reporting
:graph:                 X-Pack graph
:searchprofiler:        X-Pack search profiler
:xpackml:               X-Pack machine learning
:ml:                    machine learning
:dfeed:                 datafeed
:dfeeds:                datafeeds
:dfeed-cap:             Datafeed
:dfeeds-cap:            Datafeeds

include::{es-repo-dir}/Versions.asciidoc[]
include::{es-repo-dir}/reference/index-shared1.asciidoc[]

ifdef::include-xpack[]
:edit_url!:
include::setup-xes.asciidoc[]
endif::include-xpack[]

include::{es-repo-dir}/reference/index-shared2.asciidoc[]

ifdef::include-xpack[]
:edit_url!:
include::rest-api/index.asciidoc[]
endif::include-xpack[]

include::{es-repo-dir}/reference/index-shared3.asciidoc[]
