- Resource: Forwarder
- ForwarderConfig
- ServerSettings
- ForwarderHttpSettings
- RouteSettings
- State
- Methods
Resource: Forwarder
Forwarder which sends data via Ingestion API. NEXT TAG: 7
JSON representation |
---|
{ "name": string, "display_name": string, "config": { object ( |
Fields | |
---|---|
name |
Immutable. The resource ID of the Forwarder. Format: projects/{project}/locations/{location}/instances/{instance}/forwarders/{forwarder} |
display_name |
User-specified forwarder name. |
config |
Forwarder configuration settings. |
state |
Output only. Current state of a Forwarder. |
create_time |
Output only. Timestamp when the Forwarder is created A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update_time |
Output only. Timestamp when the Forwarder is updated A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
ForwarderConfig
ForwarderConfig contains fields which manage the configuration of a given Forwarder. Some settings, such as Metadata and Regex Filters, can interact with individual Collector configurations. NEXT TAG: 5
JSON representation |
---|
{ "upload_compression": boolean, "metadata": { object ( |
Fields | |
---|---|
upload_compression |
Determines if uploaded data will be compressed. |
metadata |
Metadata applied at the Forwarder level. This can be used in conjunction with, or be overridden by, Metadata applied at the Collector level. Refer to each Metadata field for further information. |
regex_filters[] |
RegexFilters applied at the Forwarder level, which can be overridden by filters defined at the Collector level. |
server_settings |
Server settings for load balancing and high availability config. |
ServerSettings
Server settings for load balancing and high availability configuration. Default configuration values will be applied during resource creation for the following fields when they are missing or zero-valued: - graceful_timeout - drain_timeout NEXT TAG: 5
JSON representation |
---|
{
"enabled": boolean,
"graceful_timeout": string,
"drain_timeout": string,
"http_settings": {
object ( |
Fields | |
---|---|
enabled |
Describes whether server functionality is enabled on the Forwarder. |
graceful_timeout |
A timeout value, truncated to seconds, after which the forwarder returns a bad readiness/health check and still accepts new connections. A duration in seconds with up to nine fractional digits, ending with ' |
drain_timeout |
A timeout value, truncated to seconds, after which the forwarder waits for active connections to successfully close on their own before being closed by the server. A duration in seconds with up to nine fractional digits, ending with ' |
http_settings |
HTTP-specific server settings. |
ForwarderHttpSettings
HTTP settings for the Forwarder's server. Default configuration values will be applied during resource creation for the following fields when they are missing or zero-valued: - port - host - read_timeout - read_header_timeout - write_timeout - idle_timeout NEXT TAG: 8
JSON representation |
---|
{
"port": integer,
"host": string,
"read_timeout": string,
"read_header_timeout": string,
"write_timeout": string,
"idle_timeout": string,
"route_settings": {
object ( |
Fields | |
---|---|
port |
Port number that the HTTP server listens on for health checks from the load balancer. |
host |
IP address, or hostname that can be resolved to IP addresses, that the server should listen on. |
read_timeout |
Maximum amount of time, truncated to seconds, allowed to read the entire request, both the header and the body. A duration in seconds with up to nine fractional digits, ending with ' |
read_header_timeout |
Maximum amount of time, truncated to seconds, allowed to read request headers. A duration in seconds with up to nine fractional digits, ending with ' |
write_timeout |
Maximum amount of time, truncated to seconds, allowed to send a response. A duration in seconds with up to nine fractional digits, ending with ' |
idle_timeout |
Maximum amount of time, truncated to seconds, to wait for the next request when idle connections are enabled. A duration in seconds with up to nine fractional digits, ending with ' |
route_settings |
Route-specific settings for the HTTP server. |
RouteSettings
User-configurable routes settings for the Forwarder's HTTP Server Default configuration values will be applied during resource creation for the following fields when they are missing or zero-valued: - available_status_code - ready_status_code - unready_status_code NEXT TAG: 4
JSON representation |
---|
{ "available_status_code": integer, "ready_status_code": integer, "unready_status_code": integer } |
Fields | |
---|---|
available_status_code |
Status code returned when a liveness check is received and the forwarder is available. |
ready_status_code |
Status code returned when it is ready to accept traffic. |
unready_status_code |
Status code returned when it is not ready to accept traffic. |
State
Life-Cycle States of a Forwarder.
Enums | |
---|---|
STATE_UNSPECIFIED |
The default value. This value is used if the state is omitted. |
ACTIVE |
Forwarder is allowed to upload data. |
SUSPENDED |
Forwarder is not allowed to upload data. |
Methods |
|
---|---|
|
Create a forwarder. |
|
Delete a forwarder by forwarder ID. |
|
Generates a forwarder's configuration files. |
|
Get a forwarder by forwarder ID. |
|
List all forwarders for the instance. |
|
Update a forwarder. |