Data to server sending buffered data

I am trying to send the data from a bluetooth beacon, but the beacon sends data every 10 seconds (Thats the slowest it can send). I want to send the data every minute using data to server, but because the beacon sends every 10 seconds it causes a buffer of 6 readings to be sent every minute. I understand how this buffer is useful on other applications, but is there any way to reduce the buffer so that it only sends the last recorded data string?

Hello,

I’ve inquired about this with our R&D and will come back to you as soon as I have an answer.

Thank you,
M.

Thank you very much

Hello,

The R&D has responded with a workaround, as limiting this doesn’t seem to be possible, at least for now. Quote:

There is no way to limit how much data is collected and stored in the database. However, the client can get creative with how data is sent by the "Data to server" application. They could use "Segment count" of 6, for example, and then by selecting "Format type" "Lua script" they can add a simple Lua script that will format the output anyway it is needed. It could, for example, only use say first or last entry for output to be sent to the server.

Please do note that writing these custom scripts is out of our scope; we’re only able to help you get on track.

Kind regards,
M.