Get desktop application:
View/edit binary Protocol Buffers messages
Fetches the currently running version of the Elastic Agent.
Version response message.
Current running version.
Current running commit.
Current running build time.
Current running version is a snapshot.
Current running version is FIPS-compliant.
Fetches the currently states of the Elastic Agent.
Streams the current state of the Elastic Agent to the client. Client will continue to get updated StateResponse when any state of the Elastic Agent has changed.
Restart restarts the current running Elastic Agent.
Response status.
Error message when it fails to trigger restart.
Upgrade starts the upgrade process of Elastic Agent.
Upgrade request message.
(Optional) Version to upgrade to. If not provided Elastic Agent will auto discover the latest version in the same major to upgrade to. If wanting to upgrade to a new major that major must be present in the this version field.
(Optional) Use a different source URI then configured. If provided the upgrade process will use the provided sourceURI instead of the configured sourceURI in the configuration.
(Optional) Overrides predefined behavior for agent package verification. If provided Elastic Agent package is not checked for signature during upgrade.
(Optional) Overrides predefined behavior for agent package verification. If provided Elastic Agent package is checked against these pgp keys as well.
(Optional) Overrides predefined behavior for agent package verification. If provided Elastic Agent package embedded PGP key is not checked for signature during upgrade.
A upgrade response message.
Response status.
Version that is being upgraded to.
Error message when it fails to trigger upgrade.
Gather diagnostic information for the running Elastic Agent.
DiagnosticAgentRequest is request to gather diagnostic information about the Elastic Agent.
DiagnosticAgentResponse is response to gathered diagnostic information about the Elastic Agent.
Diagnostic results for the agent.
Gather diagnostic information for the running units.
DiagnosticUnitsRequest allows a diagnostic request to specify the units to target.
Specific units to target. (If no units are given then a result for all units is provided).
Gather diagnostic information for the running components.
DiagnosticComponentsRequest is the message to request diagnostics from individual components.
DiagnosticComponentResponse is the response diagnostic information for a component-level diagnostic request
ID of the component.
Error message for the failure fetching diagnostic information for this unit.
Diagnostic results for the unit.
Configure adjusts the running Elastic Agent configuration with the configuration provided over the RPC. This is only allowed if the Elastic Agent is spawned in TESTING_MODE. Calling this on any Elastic Agent that is not in TESTING_MODE will result in an error being returned and nothing occurring.
ConfigureRequest sends a new configuration for the running Elastic Agent to use.
Config to use.
Action status codes for restart and upgrade response.
Used in:
,Action was successful.
Action failed.
DiagnosticAgentRequestAdditional is an enum of additional diagnostic metrics that can be requested from Elastic Agent.
Used in:
,CollectorComponent is the status of an OTel collector component.
Used in:
Status of the component.
Error is set to the reported error.
Timestamp of status.
Status information for sub-components of this component.
CollectorComponentStatus used for OTel collector components.
Used in:
Current state of a running component by Elastic Agent.
Used in:
Unique component ID.
Component name.
Current state.
Current state message.
Current units running in the component.
Current version information for the running component.
Used in:
Type of unit in the component.
ID of the unit in the component.
Current state.
Current state message.
Current state payload.
Version information reported by the component to Elastic Agent.
Used in:
Name of the component.
2 reserved - used to be used for version of component. Extra meta information about the version.
DiagnosticComponentRequest specifies the component to send a diagnostic request to.
Used in:
ID of the component.
DiagnosticFileResult is a file result from a diagnostic result.
Used in:
, ,Human readable name of the diagnostic result content.
Filename to use to store the diagnostic to the disk.
Human readable description of the information this diagnostic provides.
Content-Type of the resulting content.
Actual file content.
Timestamp the content was generated at.
DiagnosticUnitRequest specifies a specific unit to gather diagnostics from.
Used in:
ID of the component.
Type of unit.
ID of the unit.
DiagnosticUnitResponse is diagnostic information about a specific unit.
Used as response type in: ElasticAgentControl.DiagnosticUnits
Used as field type in:
ID of the component.
Type of unit.
ID of the unit.
Error message for the failure fetching diagnostic information for this unit.
Diagnostic results for the unit.
DiagnosticUnitsResponse is response to gathered units diagnostic information.
Diagnostics results per unit.
Empty message.
Used as request type in: ElasticAgentControl.Restart, ElasticAgentControl.State, ElasticAgentControl.StateWatch, ElasticAgentControl.Version
Used as response type in: ElasticAgentControl.Configure
(message has no fields)
pprof endpoint that can be requested.
State codes for the current state.
Used in:
, ,Used in:
Current ID of the Agent.
Current running version.
Current running commit.
Current running build time.
Current running version is a snapshot.
Current running PID.
True when running as unprivileged.
True when agent is managed by fleet
StateResponse is the current state of Elastic Agent. Next unused id: 8
Used as response type in: ElasticAgentControl.State, ElasticAgentControl.StateWatch
Overall information of Elastic Agent.
Overall state + message of Elastic Agent, aggregating errors in other states and components
Fleet state: healthy / "Connected" if the last RPC call to Fleet succeeded, otherwise failed with the associated error string.
State of each component in Elastic Agent.
Upgrade details
OTel collector component status information.
Unit Type running inside a component.
Used in:
, ,UpgradeDetails captures the details of an ongoing Agent upgrade.
Used in:
Version the Agent is being upgraded to.
Current state of the upgrade process.
Fleet Action ID that initiated the upgrade, if in managed mode.
Metadata about the upgrade process.
UpgradeDetailsMetadata has additional information about an Agent's ongoing upgrade.
Used in:
If the upgrade is a scheduled upgrade, the timestamp of when the upgrade is expected to start.
If the upgrade is in the UPG_DOWNLOADING state, the percentage of the Elastic Agent artifact that has already been downloaded, to serve as an indicator of download progress.
If the upgrade has failed, what upgrade state failed.
Any error encountered during the upgrade process.
Any error message that is a result of a retryable upgrade step, e.g. the download step, being retried.
The deadline until when a retryable upgrade step, e.g. the download step, will be retried.