I have an influxdb measurement in which data is inserted continuously. I want to retrieve data points after a certain number of insertions have been done. For example Suppose there are 15 records already present in a measurement, after another 10 records have been inserted I want to retrive these 10 records for my python script. I want to do this without directly querong the database through a program but through alerts given by the kapacitor.
Is it possible to do so? And if possible how can I do this