/api/space/device-management/devices/get-syslog-events (v1)

The following operation is supported on this resource:

  • POST - Start getting Syslog events from devices
POST /devices/get-syslog-events
(Deprecated)
Version 1

This API is used to start syslog events on managed devices. It makes an asynchronous call to the syslog service.

Sample Usage

Since this API makes an asynchronous method call, you can (optionally) specify queue and schedule parameters:

POST /devices/get-syslog-events?queue=<queue>&schedule=<schedule>


Note: It is assumed that the queue url denoted by <queue> has, already, been created.


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    queueQueue URLQueryA fully qualified queue URL, where job progress notifications will be sent (See Asynchronous API Usage)N
    schedulecron-like-expressionQuerySchedule this API in the future, by specifying a cron-like-expression (See Job Scheduling)N
  • Sample Input XML:

    <get-syslog-events>
      <devices>
        <device>/api/space/device-management/devices/1234</ device>
        <device>/api/space/device-management/devices/5678</ device>
      </devices>
      <text-patterns>
        <text-pattern>pattern1</text-pattern>
        <text-pattern>pattern2</text-pattern>
      </text-patterns>
    </get-syslog-events>

  • Sample Output XML:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <task>
        <id>720908</id>
      </task>

  • Sample Input JSON:

    {
       "get-syslog-events":{
         "devices":{
           "device":[
            "/api/space/device-management/devices/1234",
            "/api/space/device-management/devices/5678"
           ]
         },
         "text-patterns":{
           "text-pattern":[
             "pattern1",
             "pattern2"
           ]
         },
       }
    }

  • Sample Output JSON:

    {
      "task":{
         "id":1245226
       }
    }

  • Access Control

    The following capabilities are required to access this API: DefaultRead

      For the current version of this API, refer to :
    • version 2