Related Documentation
- Junos Space
- Suppressed Events Overview
- Additional Information
- Viewing Details of JMBs for Suppressed Events
Get All Suppressed Events
Use this API to get information about all Juniper Message Bundles (JMBs) for which incidents are not created in Junos Space Service Now.
URI
https://[host]/api/juniper/servicenow/suppressed-event-management /suppressedEvents (HTTP method = GET)
URI Parameters
None
Consumes
None
Produces
- application/vnd.juniper.servicenow.suppressed-event-management.suppressedEvents +xml;version=1
- aapplication/vnd.juniper.servicenow.suppressed-event-management.suppressedEvents +json;version=1
Response Elements
Element | Type | Description |
---|---|---|
uri | String | Link to the collection of suppressed events |
size | Integer | Number of records in the collection |
suppressedEvent | suppressedEvent | A suppressed event in the collection |
href | String | Link to the suppressed event |
uri | String | URI of the suppressed event |
id | String | ID of the suppressed event |
organizationName | String | Name of the Organization associated with the suppressed event |
deviceGroupName | String | Name of the device group associated with the suppressed event |
hostName | String | Name of the device on which the event occurred |
serialNumber | String | Serial number of the device on which the event occurred |
jmbName | String | Name of the JMB associated with the suppressed event |
prbIdentifier | String | ID of the event that occurred on the device |
receivedTime | String | Date and Time (in the yyyy-mm-dd hh:mm:ss timezone format) the JMB was received |
filterName | String | Name of the filter applied to the JMB to suppress incident generation |
productName | String | Product on which the event occurred |
priority | String | Priority of the event Possible values:
|
method | String | Methods associated with the suppressed event |
Sample Output
Sample XML Output
<suppressedEvents uri="/api/juniper/servicenow/suppressed-event-management/suppressedEvents/" size="3"> <suppressedEvent href= "/api/juniper/servicenow/suppressed-event-management/suppressedEvents/7864342" uri="/api/juniper/servicenow/suppressed-event-management/suppressedEvents/7864342" key="7864342"> <id>7864342</id> <organizationName>Org_Stage</organizationName> <deviceGroupName>Device Group for Org_Stage</deviceGroupName> <hostName>fuga</hostName> <jmbName>fuga_20170524_013053_214_jmb_ais_prob.xml</jmbName> <prbIdentifier>fuga-214-20170524-012803-214</prbIdentifier> <receivedTime>2017-05-24 14:26:12 IST</receivedTime> <filterName>test_1</filterName> <productName>M120</productName> <priority>2-High</priority> </suppressedEvent> <suppressedEvent href= "/api/juniper/servicenow/suppressed-event-management/suppressedEvents/7864365" uri="/api/juniper/servicenow/suppressed-event-management/suppressedEvents/7864365" key="7864365"> <id>7864365</id> <organizationName>Org_Stage</organizationName> <deviceGroupName>Device Group for Org_Stage</deviceGroupName> <hostName>fuga</hostName> <jmbName>fuga_20170524_013104_216_jmb_ais_prob.xml</jmbName> <prbIdentifier>fuga-216-20170524-012819-216</prbIdentifier> <receivedTime>2017-05-24 14:26:14 IST</receivedTime> <filterName>test_1</filterName> <productName>M120</productName> <priority>3-Medium</priority> </suppressedEvent> <suppressedEvent href= "/api/juniper/servicenow/suppressed-event-management/suppressedEvents/7864388" uri="/api/juniper/servicenow/suppressed-event-management/suppressedEvents/7864388" key="7864388"> <id>7864388</id> <organizationName>Org_Stage</organizationName> <deviceGroupName>Device Group for Org_Stage</deviceGroupName> <hostName>fuga</hostName> <jmbName>fuga_20170524_013110_217_jmb_ais_prob.xml</jmbName> <prbIdentifier>fuga-217-20170524-012821-217</prbIdentifier> <receivedTime>2017-05-24 14:26:16 IST</receivedTime> <filterName>test_1</filterName> <productName>M120</productName> <priority>3-Medium</priority> </suppressedEvent> <method href= "/api/juniper/servicenow/suppressed-event-management/suppressedEvents/delete" /> <method href= "/api/juniper/servicenow/suppressed-event-management/suppressedEvents/createIncident" /> </suppressedEvents> e>true</updateDirectiveFile>
Sample JSON Output
{ "suppressedEvents": { "suppressedEvent": [ { "id": "7864342", "organizationName": "Org_Stage", "deviceGroupName": "Device Group for Org_Stage", "hostName": "fuga", "jmbName": "fuga_20170524_013053_214_jmb_ais_prob.xml", "prbIdentifier": "fuga-214-20170524-012803-214", "receivedTime": "2017-05-24 14:26:12 IST", "filterName": "test_1", "productName": "M120", "priority": "2-High", "_href": "/api/juniper/servicenow/suppressed-event-management/suppressedEvents/7864342", "_uri": "/api/juniper/servicenow/suppressed-event-management/suppressedEvents/7864342", "_key": "7864342" }, { "id": "7864365", "organizationName": "Org_Stage", "deviceGroupName": "Device Group for Org_Stage", "hostName": "fuga", "jmbName": "fuga_20170524_013104_216_jmb_ais_prob.xml", "prbIdentifier": "fuga-216-20170524-012819-216", "receivedTime": "2017-05-24 14:26:14 IST", "filterName": "test_1", "productName": "M120", "priority": "3-Medium", "_href": "/api/juniper/servicenow/suppressed-event-management/suppressedEvents/7864365", "_uri": "/api/juniper/servicenow/suppressed-event-management/suppressedEvents/7864365", "_key": "7864365" }, { "id": "7864388", "organizationName": "Org_Stage", "deviceGroupName": "Device Group for Org_Stage", "hostName": "fuga", "jmbName": "fuga_20170524_013110_217_jmb_ais_prob.xml", "prbIdentifier": "fuga-217-20170524-012821-217", "receivedTime": "2017-05-24 14:26:16 IST", "filterName": "test_1", "productName": "M120", "priority": "3-Medium", "_href": "/api/juniper/servicenow/suppressed-event-management/suppressedEvents/7864388", "_uri": "/api/juniper/servicenow/suppressed-event-management/suppressedEvents/7864388", "_key": "7864388" } ], "method": [ { "_href": "/api/juniper/servicenow/suppressed-event-management/suppressedEvents/delete" }, { "_href": "/api/juniper/servicenow/suppressed-event-management/suppressedEvents/createIncident" } ], "_uri": "/api/juniper/servicenow/suppressed-event-management/suppressedEvents/", "_size": "3" } }
Related Documentation
- Junos Space
- Suppressed Events Overview
- Additional Information
- Viewing Details of JMBs for Suppressed Events