Downloading events, is there a method to download all at once?

I also need this functionality. A simple download button on the events page would be so simple!

I was able to extract the entire event log by manually calling the API.

I used the chrome web inspector to see the API address and copied the URL. I changed the length value (near the end) to 999999. This produced JSON with all events. A quick paste into notepad++, replace all ],[ with \n gave me a nice list. With a few more quick modifications I have a list ready to paste into excel. You would think you could use the url below by replacing the IP address and device number.

http://192.168.1.200/device/events/33/dataTablesJson?draw=10&columns[0][data]=0&columns[0][name]=ID&columns[0][searchable]=false&columns[0][orderable]=true&columns[0][search][value]=&columns[0][search][regex]=false&columns[1][data]=1&columns[1][name]=NAME&columns[1][searchable]=true&columns[1][orderable]=true&columns[1][search][value]=&columns[1][search][regex]=false&columns[2][data]=2&columns[2][name]=VALUE&columns[2][searchable]=true&columns[2][orderable]=true&columns[2][search][value]=&columns[2][search][regex]=false&columns[3][data]=3&columns[3][name]=UNIT&columns[3][searchable]=true&columns[3][orderable]=true&columns[3][search][value]=&columns[3][search][regex]=false&columns[4][data]=4&columns[4][name]=DESCRIPTION_TEXT&columns[4][searchable]=true&columns[4][orderable]=true&columns[4][search][value]=&columns[4][search][regex]=false&columns[5][data]=5&columns[5][name]=SOURCE&columns[5][searchable]=true&columns[5][orderable]=true&columns[5][search][value]=&columns[5][search][regex]=false&columns[6][data]=6&columns[6][name]=EVENT_TYPE&columns[6][searchable]=true&columns[6][orderable]=true&columns[6][search][value]=&columns[6][search][regex]=false&columns[7][data]=7&columns[7][name]=DATE&columns[7][searchable]=true&columns[7][orderable]=true&columns[7][search][value]=&columns[7][search][regex]=false&order[0][column]=7&order[0][dir]=desc&start=0&length=999999&search[value]=&search[regex]=false&_=1630338871833

2 Likes