microsoft / OMS-Agent-for-Linux

http://www.microsoft.com/oms
Other
410 stars 310 forks source link

Feed logs to event hubs #692

Open parsoFish opened 6 years ago

parsoFish commented 6 years ago

As the OMS agent for linux cannot be configured to report to more than one Log Analytics workspace but this may be desired behaviour what would be the feasability of modifying the log collector to instead feed to an aggregator such as event hubs. Not only would this allow for mutliple OMS workspaces to subscribe to the event hub but other applications also could.

ArtemProc commented 6 years ago

Hello, you can check fluentd plugin for Azure EventHub https://github.com/htgc/fluent-plugin-azureeventhubs

So you can setup data upload to Event Hub this way.

P. S. Basically under the hood OMS Agent uses fluentd right now to upload data if you check folders and logs + conf files you will notice that.