{"type":"api","title":"Create Events Query Config","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/d2f02ba2-fd0d-3a26-bcc5-feafc8f24d17","info":{"title":"Monitoring and Troubleshooting","description":"Includes API operations for the following:\n- Real-time monitoring\n- Accessing statistics APIs and statistics bulk APIs\n- Retrieving device state\n- Managing alarms and events\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Monitoring - Events"],"description":"Get event field details","operationId":"createEventsQueryConfig","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"component":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","example":"system"},"value":{"type":"string","example":"System"}},"$$ref":"#/components/schemas/SimpleKeyValueMapping"}},"severityOptions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","example":"system"},"value":{"type":"string","example":"System"}},"$$ref":"#/components/schemas/SimpleKeyValueMapping"}},"timeOptions":{"type":"array","items":{"type":"object","properties":{"enableDateFields":{"type":"boolean","example":false},"key":{"type":"string","example":"last_24_hours"},"value":{"type":"string","example":"Last 24 hours"}},"$$ref":"#/components/schemas/TimeOptions"}}},"$$ref":"#/components/schemas/EventQueryInputResponse"},"examples":{"Field details":{"description":"Field details","value":{"timeOptions":[{"key":"last_24_hours","value":"Last 24 hours","enableDateFields":false},{"key":"last_12_hours","value":"Last 12 hours","enableDateFields":false},{"key":"last_6_hours","value":"Last 6 hours","enableDateFields":false},{"key":"last_1_hour","value":"Last 1 hour","enableDateFields":false},{"key":"custom","value":"Custom","enableDateFields":true}],"severityOptions":[{"key":"critical","value":"Critical"},{"key":"major","value":"Major"},{"key":"minor","value":"Minor"}],"component":[{"key":"system","value":"System"},{"key":"hardware","value":"Hardware"},{"key":"bfd","value":"BFD"},{"key":"control","value":"Control"},{"key":"interface","value":"Interface"},{"key":"omp","value":"OMP"},{"key":"tunnel","value":"Tunnel"},{"key":"routing","value":"Routing"},{"key":"policy","value":"vSmart Policy"},{"key":"security","value":"Security"},{"key":"software","value":"Software"}]},"$$ref":"#/components/examples/ComViptelaVmanageServerEventResponseQueryInput"}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Events-read","method":"get","path":"/event/query/input"}}