shal I see, I have selected counters to be of type message and method each. What about selectors? How to configure that. And how will it know that when to start capturing the data and when to publish it?
The message from the device will be as follows when I need to start logging the data based on the level "HIGH".
{"start_stop": {"drive_id": "4a81f109-8fdf-4442b168_7", "level": "HIGH", "method": "AUTOMATIC"}, "ts": 1634263}
And after this message, it should capture all the data until it received a message from that device with level = low as below.
{"start_stop": {"drive_id": "4a81f109-8fdf-4442b168_7", "level": "LOW", "method": "AUTOMATIC"}, "ts": 1678335306}
So all the messages including these two messages and in-between is required. Based on this, what should be my configuration for selectors/counters etc.
P.S: What should be in the "name" field of a counter? any specific values or can be any string.