Configure Rsyslog Forwarder via Director Console API
Create a Target
Add the Target to a Device
View the Logs in the Target
Sample API Requests and Responses for attaching a device in the LogPoint Collector (LPC) setup
Create a Target
Config API: POST https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/RawSyslogForwarder/Target { "data": { "ip": "10.45.9.18", "enable_udp": "on", "name": "target_1", "port": 514 } } Response: { "status": "Success", "message": "monitorapi/v1/336294dbd0f141ce86cb925bca74133a/41b5b7fffa6c4e3cb6bc6d799a5ee6e5/orders/71c23e11-a25b-4688-a88d-275e14251d6c" } Monitoring API: GET https://api-server-host-name/monitorapi/v1/336294dbd0f141ce86cb925bca74133a/41b5b7fffa6c4e3cb6bc6d799a5ee6e5/orders/71c23e11-a25b-4688-a88d-275e14251d6c Response: { "request": {}, "logpoint_identifier": "ea92ab66cae24e4e9fe22189468056f8", "pool_uuid": "a068f9a59fbc424db87f59ad1f4de86d", "response": { "success": true, "message": "Syslog Remote Target Added." } }
Add the Target to a Device
View the forwarded logs in the Target
Last updated
Was this helpful?