Problem
The \LogicMonitor.Api\ NuGet package does not include a \LogSource\ type for querying or managing LM Logs LogSource configurations (syslog ingestion rules).
The \LogicMonitor.Api.Logs\ namespace currently contains only \LogFilter, \LogItem, and audit types — these are for querying ingested log data, not for inspecting the ingestion rules themselves.
Evidence
Types present in v3.236.14, \LogicMonitor.Api.Logs\ namespace:
- \LogFilter, \LogItem, \LogFilterSortOrder\ — log querying only
- Audit types (\Audit, \AuditEvent, etc.) — unrelated
No \LogSource, \LogSourceFilter, or similar type exists anywhere in the package.
LogicMonitor REST API
LM Logs LogSources are accessible via the LM portal REST API at:
- \GET /log/sources\ — list all LogSources
- \GET /log/sources/{id}\ — get a single LogSource by ID
Key fields needed on a \LogSource\ type:
- \id,
ame, \ ype\
- \�ppliesTo\ expression and/or \�pplyToCollector\ settings + collector mappings
- Include filters
- Log fields
- Resource mappings
- Enabled/disabled state
Use Case
During live incident triage (e.g. syslog packets arriving at a collector but not appearing in LM Logs), engineers need to inspect the LogSource \�ppliesTo\ expression, include filters, and resource mappings without making portal changes. Without a typed \LogSource\ in the SDK, only raw HTTP calls with manual HMAC signing are possible.
Requested Enhancement
Add a \LogSource\ class and surface it via the \LogicMonitorClient\ with at least:
- \GetAllAsync()\ (list all)
- \GetAsync(id)\ (get single)
Optionally also export/import JSON (as with DataSource, EventSource, etc.)
Problem
The \LogicMonitor.Api\ NuGet package does not include a \LogSource\ type for querying or managing LM Logs LogSource configurations (syslog ingestion rules).
The \LogicMonitor.Api.Logs\ namespace currently contains only \LogFilter, \LogItem, and audit types — these are for querying ingested log data, not for inspecting the ingestion rules themselves.
Evidence
Types present in v3.236.14, \LogicMonitor.Api.Logs\ namespace:
No \LogSource, \LogSourceFilter, or similar type exists anywhere in the package.
LogicMonitor REST API
LM Logs LogSources are accessible via the LM portal REST API at:
Key fields needed on a \LogSource\ type:
ame, \ ype\
Use Case
During live incident triage (e.g. syslog packets arriving at a collector but not appearing in LM Logs), engineers need to inspect the LogSource \�ppliesTo\ expression, include filters, and resource mappings without making portal changes. Without a typed \LogSource\ in the SDK, only raw HTTP calls with manual HMAC signing are possible.
Requested Enhancement
Add a \LogSource\ class and surface it via the \LogicMonitorClient\ with at least:
Optionally also export/import JSON (as with DataSource, EventSource, etc.)