Hello,
I want to add field from filebeat eventhub input parameter.
I use this input configuration:
- type: azure-eventhub
id: azure-eventhub-insights-activity-1
eventhub: "activity-logs"
consumer_group: "$Default"
connection_string: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
storage_account: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxX"
storage_account_key: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
- type: azure-eventhub
id: azure-eventhub-insights-activity-2
eventhub: "activity-logs"
consumer_group: "$Default"
connection_string: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
storage_account: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
storage_account_key: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
- type: azure-eventhub
id: azure-eventhub-insights-activity-3
eventhub: "activity-logs"
consumer_group: "$Default"
connection_string: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
storage_account: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
storage_account_key: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
And i want to add the "id" field like "azure-eventhub-insights-activity-1", "azure-eventhub-insights-activity-2" or "azure-eventhub-insights-activity-3" in my log.
It is possible add this field easily ?
Someone help-me?
Thanks