Ask a Question

Include debug events to the /events API endpoint

0 Kudos

Include debug events to the /events API endpoint

Using the legacy UI (Alertsite 1.0) we can list events via Account -> Manage Account -> Events and select event type "_Debug events" to have detailed insight into any configuration changes happening.

 

When querying the /events API endpoint (https://api.alertsite.com/swag/#!/events/getEvents) I'm unable to get the same type of events.

 

It would be useful to have access to this data via the /events API endpoint to ingest that data and integrate it in an auditing workflow on our side.

6 Comments
denisgoodwin
Staff

Hi!

 

Debug events are included in the GET /events/{event_type} endpoint.
 
If you select "_All" from the event_type drop-down list, you get all events including Debug.
 
smetj
New Contributor

Hi Dennis,

 

Thanks for your reply.

 

- When I use the legacy web interface I can find the events.

- When I query the /events endpoint directly using the swagger utility or via CURL I cannot.

 

 

denisgoodwin
Staff

If you select _All at the very bottom of the event pick list, you'll get the Debug events.

 

debugpic1.png

 

 

 

 

If you're still having issues, I suggest opening a case with our Support team.

 
smetj
New Contributor

my feature request is UNRELATED to the UI.

 

My feature request is to see debug events when doing:

 

curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer abcdefghijklmnopqrstuvwxyz' 'https://api.alertsite.com/api/v3/events'

denisgoodwin
Staff

the request URL needs to include the "_All"

 

 
smetj
New Contributor

and the swagger UI also has a dropdown and you were referring to that whilst I though you were referring to the legacy UI dropdown ..

 

ok please close, problem solved 👍

Announcements
Welcome to the AlertSite Feature Requests board!

Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.

Check out the Create a Feature Request guide for more information.
New Here?
Welcome to the Community
Sign Up Here