Conversation
Vale Linting ResultsSummary: 2 warnings found
|
| File | Line | Rule | Message |
|---|---|---|---|
| troubleshoot/ingest/fleet/diagnostics.md | 54 | Elastic.Spelling | 'prefered' is a possible misspelling. |
| troubleshoot/ingest/fleet/diagnostics.md | 92 | Elastic.DontUse | Don't use 'Note that'. |
The Vale linter checks documentation changes against the Elastic Docs style guide.
To use Vale locally or report issues, refer to Elastic style guide for Vale.
Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
|
|
||
| If your symptoms are not covered by these guides, review the open issues in these GitHub repositories: | ||
|
|
||
| | Repository | To review or report issues about | |
There was a problem hiding this comment.
| | Repository | To review or report issues about | | |
| | Repository | Review or report issues about | |
| * [Retrieve the {{agent}} version](#trb-retrieve-agent-version) | ||
| * [Check the {{agent}} status](#trb-check-agent-status) | ||
| * [Collect {{agent}} diagnostics bundle](#trb-collect-agent-diagnostics) | ||
| * [Collect {{agent}} diagnostics bundle](/troubleshoot/ingest/fleet/diagnostics.md) |
There was a problem hiding this comment.
To match the title of the new page:
| * [Collect {{agent}} diagnostics bundle](/troubleshoot/ingest/fleet/diagnostics.md) | |
| * [Capture {{agent}} diagnostics](/troubleshoot/ingest/fleet/diagnostics.md) |
|
|
||
| ## Which information do I need? [agent-diagnostic-type] | ||
|
|
||
| As explained under [What is {{fleet}} Server?](/reference/fleet/fleet-server.md), for [{{fleet}}-managed {{agent}}](/reference/fleet/install-fleet-managed-elastic-agent.md), related settings and states can by surfaced by: |
There was a problem hiding this comment.
This part is not relevant here and can only confuse users:
| As explained under [What is {{fleet}} Server?](/reference/fleet/fleet-server.md), for [{{fleet}}-managed {{agent}}](/reference/fleet/install-fleet-managed-elastic-agent.md), related settings and states can by surfaced by: | |
| For [{{fleet}}-managed {{agent}}](/reference/fleet/install-fleet-managed-elastic-agent.md), related settings and states can by surfaced by: |
|
|
||
| [Standalone {{agent}}s](/reference/fleet/install-standalone-elastic-agent.md) are not associated to {{kib}} nor {{fleet}}, but their diagnostics are still accessible from the CLI. | ||
|
|
||
| To pull data from the respective applicable locations, you will refer to: |
There was a problem hiding this comment.
| To pull data from the respective applicable locations, you will refer to: | |
| To pull data from the respective applicable locations, refer to: |
|
|
||
| To pull data from the respective applicable locations, you will refer to: | ||
|
|
||
| * [Capture {{kib}} diagnostics](/troubleshoot/kibana/capturing-diagnostics.md) {applies_to}`stack: ga` |
There was a problem hiding this comment.
We already have a page-level applies_to, and the inline applies_to here does not differ from the page-level one, so there’s no need for it.
| * [Capture {{kib}} diagnostics](/troubleshoot/kibana/capturing-diagnostics.md) {applies_to}`stack: ga` | |
| * [Capture {{kib}} diagnostics](/troubleshoot/kibana/capturing-diagnostics.md) |
| kubectl exec --stdin --tty POD_NAME -n NAMESPACE -- elastic-agent diagnostics | ||
| ``` | ||
|
|
||
| Take note of the output diagnostic filename and location. |
There was a problem hiding this comment.
| Take note of the output diagnostic filename and location. | |
| Note the filename and location of the output file. |
|
|
||
| Take note of the output diagnostic filename and location. | ||
|
|
||
| 3. [`cp`](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cp/) the outputted diagnostic filename to your local machine, replacing placeholders `NAMESPACE`, `POD_NAME`. and `FILE_NAME`. |
There was a problem hiding this comment.
| 3. [`cp`](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cp/) the outputted diagnostic filename to your local machine, replacing placeholders `NAMESPACE`, `POD_NAME`. and `FILE_NAME`. | |
| 3. Use [`cp`](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cp/) to copy the diagnostic file to your local machine, replacing the `NAMESPACE`, `POD_NAME`, and `FILE_NAME` placeholders. |
|
|
||
| ### Sanitize [agent-diagnostics-sanitize] | ||
|
|
||
| {{agent}} attempts to automatically redact credentials and API keys when creating [its diagnostic files](/reference/fleet/agent-command-reference.md#elastic-agent-diagnostics-command). Review the contents of the archive before sharing to ensure that all forms of organizationally-private information is censored as needed. For example, ensure: |
There was a problem hiding this comment.
| {{agent}} attempts to automatically redact credentials and API keys when creating [its diagnostic files](/reference/fleet/agent-command-reference.md#elastic-agent-diagnostics-command). Review the contents of the archive before sharing to ensure that all forms of organizationally-private information is censored as needed. For example, ensure: | |
| {{agent}} attempts to automatically redact credentials and API keys when creating [its diagnostic files](/reference/fleet/agent-command-reference.md#elastic-agent-diagnostics-command). Review the contents of the archive before sharing it to ensure that all forms of organizational private information is censored as needed. For example, ensure: |
|
|
||
| {{agent}} attempts to automatically redact credentials and API keys when creating [its diagnostic files](/reference/fleet/agent-command-reference.md#elastic-agent-diagnostics-command). Review the contents of the archive before sharing to ensure that all forms of organizationally-private information is censored as needed. For example, ensure: | ||
|
|
||
| * There are no credentials in plain text in [its `*.yaml` diagnostic files](/reference/fleet/agent-command-reference.md#elastic-agent-diagnostics-command). |
There was a problem hiding this comment.
| * There are no credentials in plain text in [its `*.yaml` diagnostic files](/reference/fleet/agent-command-reference.md#elastic-agent-diagnostics-command). | |
| * There are no credentials in plain text in the [`*.yaml` diagnostic files](/reference/fleet/agent-command-reference.md#elastic-agent-diagnostics-command). |
|
|
||
| * There are no credentials in plain text in [its `*.yaml` diagnostic files](/reference/fleet/agent-command-reference.md#elastic-agent-diagnostics-command). | ||
|
|
||
| * The raw form of event's failing to output can show under `*.ndjson`. By default only `warn` log. When the `debug` logging level is enabled, all events are logged. If you want to omit the raw events from the diagnostic, add the flag `--exclude-events`. |
There was a problem hiding this comment.
The first sentence was not very clear, so I’m making a guess here. Please correct me if I’m wrong.
| * The raw form of event's failing to output can show under `*.ndjson`. By default only `warn` log. When the `debug` logging level is enabled, all events are logged. If you want to omit the raw events from the diagnostic, add the flag `--exclude-events`. | |
| * The raw form of events failing to output is shown in `*.ndjson`. By default, only `warn` logs are registered. To log all events, enable the `debug` logging level. If you want to omit the raw events from the diagnostics, add the flag `--exclude-events`. |
5f87f49 to
6085079
Compare
|
Hey @stefnestor, I renamed the |
Summary
👋 howdy, team! Furthering our standardization of product diagnostic guidance, this ports the existing troubleshooting section into its own page & makes "contact us for Agent" a first-class citizen.
It partially pulls from this top Support article, but mostly just rephrases existing links into one easy-access location.
Generative AI disclosure