create_logsource
Create a new log source in LogicMonitor by providing a full REST API definition, with an option to overwrite an existing one. Requires write permission to add the source directly.
Instructions
Create a LogSource via REST API from a full definition dict (requires write permission). Accepts REST API format (same as export_logsource output). For LM Exchange format, use import_logsource.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | If true, delete existing LogSource with same name before creating | |
| definition | Yes | Full LogSource definition in REST API format |