Azure / azure-diagnostics-tools

Plugins and tools for collecting, processing, managing, and visualizing diagnostics data and configuration
98 stars 93 forks source link

logstash-input-azureeventhub Only outputs message field #213

Open acd-hfi opened 4 years ago

acd-hfi commented 4 years ago

I am using the logstash-input-azureeventhub to consume messages from an IoT Hub and output those messages to elasticsearch. A basic 'message' field appears to be created with the body from the IoT hub, but I don't receive any of the IoT Hub specific metadata I need about those messages that would be contained in Properties/SystemProperties for the events. It appears all of that is lost when using this. I am new to logstash; is there any way to get this information using this plugin?

acd-hfi commented 4 years ago

Looking at the code, it is only outputting the body. All of the system properties and properties are not written out to the queue. Any plans to augment this?