cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
171
Views
0
Helpful
2
Replies

How to sort AMP for Endpoint Event API data in oldest to newest format

woyovo6303
Level 1
Level 1

Cisco Secure Endpoint Event API: https://developer.cisco.com/docs/secure-endpoint/v1-api-reference-event/

In this API the response data is in descending time order, i.e. from newest to oldest data. 

So, in my usecase I need to fetch data from a particular start_data in an ascending time order i.e. oldest to newest order.

Is there any way to do it? Or any other API to get the event data in ascending time order? 

2 Replies 2

ccieexpert
Level 4
Level 4

i dont think that is possible based on the documentation.. why cant you sort it with a script after you get the data and then use it wherever you need to ?

Maybe an EventStream?