struct

ECS::LogEntry::Agent

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new

Initialize all values as nil

Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

build(value : Build)

A chainable setter for build

Source
build
Source
build

Initialize a new Build, yield it to the block

Source
build=(build : Build | Nil)
Source
ephemeral_id(new_value : String)

A chainable setter for ephemeral_id

Source
ephemeral_id

agent.ephemeral_id

Ephemeral identifier of this agent (if one exists).

This id normally changes across restarts, but agent.id does not.

Level: Extended Type: Keyword Example:

8a4f500f
Source
ephemeral_id=(ephemeral_id : String | Nil)

agent.ephemeral_id

Ephemeral identifier of this agent (if one exists).

This id normally changes across restarts, but agent.id does not.

Level: Extended Type: Keyword Example:

8a4f500f
Source
id(new_value : String)

A chainable setter for id

Source
id

agent.id

Unique identifier of this agent (if one exists).

Example: For Beats this would be beat.id.

Level: Core Type: Keyword Example:

8a4f500d
Source
id=(id : String | Nil)

agent.id

Unique identifier of this agent (if one exists).

Example: For Beats this would be beat.id.

Level: Core Type: Keyword Example:

8a4f500d
Source
name(new_value : String)

A chainable setter for name

Source
name

agent.name

Custom name of the agent.

This is a name that can be given to an agent. This can be helpful if for example two Filebeat instances are running on the same host but a human readable separation is needed on which Filebeat instance data is coming from.

If no name is given, the name is often left empty.

Level: Core Type: Keyword Example:

foo
Source
name=(name : String | Nil)

agent.name

Custom name of the agent.

This is a name that can be given to an agent. This can be helpful if for example two Filebeat instances are running on the same host but a human readable separation is needed on which Filebeat instance data is coming from.

If no name is given, the name is often left empty.

Level: Core Type: Keyword Example:

foo
Source
type(new_value : String)

A chainable setter for type

Source
type

agent.type

Type of the agent.

The agent type always stays the same and should be given by the agent used. In case of Filebeat the agent would always be Filebeat also if two Filebeat instances are run on the same machine.

Level: Core Type: Keyword Example:

filebeat
Source
type=(type : String | Nil)

agent.type

Type of the agent.

The agent type always stays the same and should be given by the agent used. In case of Filebeat the agent would always be Filebeat also if two Filebeat instances are run on the same machine.

Level: Core Type: Keyword Example:

filebeat
Source
version(new_value : String)

A chainable setter for version

Source
version

agent.version

Version of the agent.

Level: Core Type: Keyword Example:

6.0.0-rc2
Source
version=(version : String | Nil)

agent.version

Version of the agent.

Level: Core Type: Keyword Example:

6.0.0-rc2
Source

Nested types