Cisco AMP for Endpoints API

GET /v1/event_streams/{:id}

Description

Returns information about an active event stream resource

Show Response Fields

Name Type Description
version String
metadata.links.self String
data.id Integer
data.name String
data.amqp_credentials.user_name String
data.amqp_credentials.queue_name String
data.amqp_credentials.host String
data.amqp_credentials.port String
data.amqp_credentials.proto String
Write
Preview

Examples

Fetch event stream with given id

Fetch event stream with given id

Request

Requires Authorization
GET /v1/event_streams/26372
Headers
accept: application/json
content-type: application/json
authorization: Basic FILTERED

cURL Edit, then copy and paste on your terminal

curl -X GET \
-H 'accept: application/json' \
-H 'content-type: application/json' \
--compressed -H 'Accept-Encoding: gzip, deflate' \
-u YOUR_API_CLIENT_ID \
'https://api.amp.cisco.com/v1/event_streams/26372'

Response

Shortened for readability

strict-transport-security: max-age=31536000
content-type: application/json; charset=utf-8
status: 200 OK
x-ratelimit-limit: 3000
x-ratelimit-reset: 3551
x-ratelimit-remaining: 2908
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2019-11-01T18:03:14Z
transfer-encoding: chunked
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.amp.cisco.com/v1/event_streams/26372"
    }
  },
  "data": {
    "id": 26372,
    "name": "bvOMXZgQ",
    "group_guids": [
      "5cdf70dd-1b14-46a0-be90-e08da14172d8"
    ],
    "event_types": [
      1090519054
    ],
    "amqp_credentials": {
      "user_name": "26372-16db5cf986eec6f44422",
      "queue_name": "event_stream_26372",
      "host": "export-streaming-lb-int.qa1.immunet.com",
      "port": "443",
      "proto": "https"
    }
  }
}