elasticsearch/docs/reference/tab-widgets/troubleshooting/data/start-slm.asciidoc

88 lines
1.8 KiB
Plaintext

// tag::cloud[]
In order to start {slm} we need to go to Kibana and execute the <<slm-api-start, start command>>.
**Use {kib}**
//tag::kibana-api-ex[]
. Log in to the {ess-console}[{ecloud} console].
+
. On the **Elasticsearch Service** panel, click the name of your deployment.
+
NOTE: If the name of your deployment is disabled your {kib} instances might be
unhealthy, in which case please contact https://support.elastic.co[Elastic Support].
If your deployment doesn't include {kib}, all you need to do is
{cloud}/ec-access-kibana.html[enable it first].
. Open your deployment's side navigation menu (placed under the Elastic logo in the upper left corner)
and go to **Dev Tools > Console**.
+
[role="screenshot"]
image::images/kibana-console.png[{kib} Console,align="center"]
. <<slm-api-start, Start>> {slm}:
+
[source,console]
----
POST _slm/start
----
+
The response will look like this:
+
[source,console-result]
----
{
"acknowledged": true
}
----
// TESTRESPONSE[skip:the result is for illustrating purposes only]
+
. Verify {slm} is now running:
+
[source,console]
----
GET _slm/status
----
+
The response will look like this:
+
[source,console-result]
----
{
"operation_mode": "RUNNING"
}
----
// TESTRESPONSE[skip:the result is for illustrating purposes only]
//end::kibana-api-ex[]
// end::cloud[]
// tag::self-managed[]
<<slm-api-start, Start>> {slm}:
[source,console]
----
POST _slm/start
----
The response will look like this:
[source,console-result]
----
{
"acknowledged": true
}
----
// TESTRESPONSE[skip:the result is for illustrating purposes only]
Verify the {slm} is now running:
[source,console]
----
GET _slm/status
----
The response will look like this:
[source,console-result]
----
{
"operation_mode": "RUNNING"
}
----
// TESTRESPONSE[skip:the result is for illustrating purposes only]
// end::self-managed[]