input_configuration_flowggers
Creates, updates, deletes, gets or lists an input_configuration_flowggers resource.
Overview​
| Name | input_configuration_flowggers |
| Type | Resource |
| Id | ovh.dbaas_logs.input_configuration_flowggers |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
log_format | string | Type of format to decode (CAPNP, GELF, LTSV, RFC5424) (wire: logFormat) |
log_framing | string | Indicates how messages are delimited (CAPNP, LINE, NUL, SYSLEN) (wire: logFraming) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | input_id, service_name | Returns the Flowgger configuration of the Logs Data Platform service. | |
update | update | input_id, service_name, log_format, log_framing | Updates the Flowgger configuration of the Logs Data Platform service. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
input_id | string (uuid) | Input ID (wire: inputId) |
service_name | string | Service name (wire: serviceName) |
SELECT examples​
- get
Returns the Flowgger configuration of the Logs Data Platform service.
SELECT
log_format,
log_framing
FROM ovh.dbaas_logs.input_configuration_flowggers
WHERE input_id = '{{ input_id }}' -- required
AND service_name = '{{ service_name }}' -- required
;
UPDATE examples​
- update
Updates the Flowgger configuration of the Logs Data Platform service.
UPDATE ovh.dbaas_logs.input_configuration_flowggers
SET
log_format = '{{ log_format }}',
log_framing = '{{ log_framing }}'
WHERE
input_id = '{{ input_id }}' --required
AND service_name = '{{ service_name }}' --required
AND log_format = '{{ log_format }}' --required
AND log_framing = '{{ log_framing }}' --required
RETURNING
alias_id,
dashboard_id,
encryption_key_id,
index_id,
input_id,
operation_id,
osd_id,
role_id,
stream_id,
subscription_id,
tenant_id,
token_id,
service_name,
created_at,
state,
updated_at;