The LM Swagger spec is missing standard query parameters on many endpoints. The API accepts these parameters and returns correct results — they are just not declared in the spec.
elm works around these gaps via swagger.undocumented.json so the generated CLI flags are correct. This issue tracks the upstream gaps for reference and to inform future make init cleanup if LM ever fixes the spec.
Universal gaps
These parameters are accepted by every GET endpoint but declared on none of them in the swagger:
| Parameter |
Type |
Notes |
fields |
string |
Comma-separated field selection |
sort |
string |
[+,-]FIELD,... sort order |
List endpoints missing size, offset, filter
These list endpoints accept pagination and filtering but do not declare the params:
| elm command |
API path |
Missing params |
PortalInfo |
GET /setting/companySetting |
fields |
IntegrationList |
GET /setting/integrations |
fields, size, offset, filter |
DeviceEventsourceList |
GET /device/devices/{deviceId}/deviceeventsources |
size, offset, filter |
DiagnosticSourcesList |
GET /setting/diagnosticsources |
size, offset, filter |
JobMonitorList |
GET /setting/batchjobs |
size, offset, filter |
LogAlertGroupsList |
GET /logpipelines |
size, offset, filter |
LogQueryGroupList |
GET /log/logquerygroups |
size, offset, filter |
LogSourceList |
GET /setting/logsources |
size, offset, filter |
OIDList |
GET /setting/oids |
size, offset, filter |
RemediationSourcesList |
GET /setting/remediationsources |
size, offset, filter |
RetentionList |
GET /log/partitions/retentions |
size, offset, filter |
TopologySourceList |
GET /setting/topologysources |
size, offset, filter |
TrackedQueryGroupList |
GET /trackedquerygroups |
size, offset, filter |
Workaround
swagger.undocumented.json in this repo adds the missing declarations. These override the official swagger during make init so the generated CLI flags are complete.
Should be raised with LogicMonitor support to fix the official swagger spec.
The LM Swagger spec is missing standard query parameters on many endpoints. The API accepts these parameters and returns correct results — they are just not declared in the spec.
elm works around these gaps via
swagger.undocumented.jsonso the generated CLI flags are correct. This issue tracks the upstream gaps for reference and to inform futuremake initcleanup if LM ever fixes the spec.Universal gaps
These parameters are accepted by every GET endpoint but declared on none of them in the swagger:
fieldssort[+,-]FIELD,...sort orderList endpoints missing
size,offset,filterThese list endpoints accept pagination and filtering but do not declare the params:
PortalInfoGET /setting/companySettingfieldsIntegrationListGET /setting/integrationsfields,size,offset,filterDeviceEventsourceListGET /device/devices/{deviceId}/deviceeventsourcessize,offset,filterDiagnosticSourcesListGET /setting/diagnosticsourcessize,offset,filterJobMonitorListGET /setting/batchjobssize,offset,filterLogAlertGroupsListGET /logpipelinessize,offset,filterLogQueryGroupListGET /log/logquerygroupssize,offset,filterLogSourceListGET /setting/logsourcessize,offset,filterOIDListGET /setting/oidssize,offset,filterRemediationSourcesListGET /setting/remediationsourcessize,offset,filterRetentionListGET /log/partitions/retentionssize,offset,filterTopologySourceListGET /setting/topologysourcessize,offset,filterTrackedQueryGroupListGET /trackedquerygroupssize,offset,filterWorkaround
swagger.undocumented.jsonin this repo adds the missing declarations. These override the official swagger duringmake initso the generated CLI flags are complete.Should be raised with LogicMonitor support to fix the official swagger spec.