Skip to main content

input_configuration_flowggers

Creates, updates, deletes, gets or lists an input_configuration_flowggers resource.

Overview​

Nameinput_configuration_flowggers
TypeResource
Idovh.dbaas_logs.input_configuration_flowggers

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
log_formatstringType of format to decode (CAPNP, GELF, LTSV, RFC5424) (wire: logFormat)
log_framingstringIndicates how messages are delimited (CAPNP, LINE, NUL, SYSLEN) (wire: logFraming)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectinput_id, service_nameReturns the Flowgger configuration of the Logs Data Platform service.
updateupdateinput_id, service_name, log_format, log_framingUpdates 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.

NameDatatypeDescription
api_hoststringThe 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_idstring (uuid)Input ID (wire: inputId)
service_namestringService name (wire: serviceName)

SELECT examples​

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​

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;