struct

ECS::LogEntry::Host

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

architecture(new_value : String)

A chainable setter for architecture

Source
architecture

host.architecture

Operating system architecture.

Level: Core Type: Keyword Example:

x86_64
Source
architecture=(architecture : String | Nil)

host.architecture

Operating system architecture.

Level: Core Type: Keyword Example:

x86_64
Source
domain(new_value : String)

A chainable setter for domain

Source
domain

host.domain

Name of the domain of which the host is a member.

For example, on Windows this could be the host's Active Directory domain or NetBIOS domain name. For Linux this could be the domain of the host's LDAP provider.

Level: Extended Type: Keyword Example:

CONTOSO
Source
domain=(domain : String | Nil)

host.domain

Name of the domain of which the host is a member.

For example, on Windows this could be the host's Active Directory domain or NetBIOS domain name. For Linux this could be the domain of the host's LDAP provider.

Level: Extended Type: Keyword Example:

CONTOSO
Source
geo(value : Geo)

A chainable setter for geo

Source
geo

Initialize a new Geo, yield it to the block

Source
geo=(geo : Geo | Nil)
Source
hostname(new_value : String)

A chainable setter for hostname

Source
hostname

host.hostname

Hostname of the host.

It normally contains what the hostname command returns on the host machine.

Level: Core Type: Keyword

Source
hostname=(hostname : String | Nil)

host.hostname

Hostname of the host.

It normally contains what the hostname command returns on the host machine.

Level: Core Type: Keyword

Source
id(new_value : String)

A chainable setter for id

Source
id

host.id

Unique host id.

As hostname is not always unique, use values that are meaningful in your environment.

Example: The current usage of beat.name.

Level: Core Type: Keyword

Source
id=(id : String | Nil)

host.id

Unique host id.

As hostname is not always unique, use values that are meaningful in your environment.

Example: The current usage of beat.name.

Level: Core Type: Keyword

Source
ip(new_value : String)

A chainable setter for ip

Source
ip

host.ip

Host ip addresses.

Level: Core Type: IP

Source
ip=(ip : String | Nil)

host.ip

Host ip addresses.

Level: Core Type: IP

Source
mac(new_value : String)

A chainable setter for mac

Source
mac

host.mac

Host mac addresses.

Level: Core Type: Keyword

Source
mac=(mac : String | Nil)

host.mac

Host mac addresses.

Level: Core Type: Keyword

Source
name(new_value : String)

A chainable setter for name

Source
name

host.name

Name of the host.

It can contain what hostname returns on Unix systems, the fully qualified domain name, or a name specified by the user. The sender decides which value to use.

Level: Core Type: Keyword

Source
name=(name : String | Nil)

host.name

Name of the host.

It can contain what hostname returns on Unix systems, the fully qualified domain name, or a name specified by the user. The sender decides which value to use.

Level: Core Type: Keyword

Source
os(value : Os)

A chainable setter for os

Source
os

Initialize a new Os, yield it to the block

Source
os=(os : Os | Nil)
Source
type(new_value : String)

A chainable setter for type

Source
type

host.type

Type of host.

For Cloud providers this can be the machine type like t2.medium. If vm, this could be the container, for example, or other information meaningful in your environment.

Level: Core Type: Keyword

Source
type=(type : String | Nil)

host.type

Type of host.

For Cloud providers this can be the machine type like t2.medium. If vm, this could be the container, for example, or other information meaningful in your environment.

Level: Core Type: Keyword

Source
uptime(new_value : UInt64)

A chainable setter for uptime

Source
uptime

host.uptime

Seconds the host has been up.

Level: Extended Type: Long Example:

1325
Source
uptime=(uptime : UInt64 | Nil)

host.uptime

Seconds the host has been up.

Level: Extended Type: Long Example:

1325
Source
user(value : User)

A chainable setter for user

Source
user
Source
user

Initialize a new User, yield it to the block

Source
user=(user : User | Nil)
Source

Nested types