Skip to main content

lines_dslam_port_logs

Creates, updates, deletes, gets or lists a lines_dslam_port_logs resource.

Overview​

Namelines_dslam_port_logs
TypeResource
Idovh.xdsl.lines_dslam_port_logs

Fields​

The following fields are returned by SELECT queries:

A message log from the DSLAM

NameDatatypeDescription
datestring (date-time)
last_occurrence_datestring (date-time)The last time this message occured (wire: lastOccurrenceDate)
messagestring
number_of_occurrencesintegerThe number of times this message occured between date and lastOccurrenceDate (wire: numberOfOccurrences)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlimit, number, service_nameReturns the messages the DSLAM emitted for the port of the line, with their date, last occurrence and number of occurrences.

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"}})
limitinteger
numberstringNumber
service_namestringService name (wire: serviceName)

SELECT examples​

Returns the messages the DSLAM emitted for the port of the line, with their date, last occurrence and number of occurrences.

SELECT
date,
last_occurrence_date,
message,
number_of_occurrences
FROM ovh.xdsl.lines_dslam_port_logs
WHERE limit = '{{ limit }}' -- required
AND number = '{{ number }}' -- required
AND service_name = '{{ service_name }}' -- required
;