SensorStreamer icon indicating copy to clipboard operation
SensorStreamer copied to clipboard

Feature request: Add Device ID Static String Field to JSON Packet Type

Open stormfish-sci opened this issue 6 years ago • 1 comments

It would be very helpful if the JSON packet type included a static string field with which you could specify a value to use to disambiguate which device produced the telemetry record.

To add a bit of context, we have multiple devices which are all streaming JSON packets via TCP to a Logstash server which stores the data in Elasticsearch for analysis. We capture the IP address of the device which produced a given telemetry record, however since the devices get their IPs from DHCP, the IP addresses for each device can change. If there where a way to include a static string in the JSON packet definition, for example:

"device_id": "Test tablet 1"

That would be fantastic!

stormfish-sci avatar Jun 24 '19 18:06 stormfish-sci

+1 for this feature. This could be the device identifier.

alexschultze avatar Jan 23 '23 20:01 alexschultze