我使用的是7.12版本的文件节拍,并按照这里的指南来尝试和监控我的azure事件中心。每次我尝试运行filebeat时,它都会给我这个错误:
Exiting: Failed to start crawler: starting input failed: Error while initializing input: Error creating input. No such input type exist: 'azure-eventhub'我的配置非常简单。
logging.level: info
logging.to_files: false
setup.dashboards.enabled: false
setup.template.enabled: false
setup.ilm.enabled: false
filebeat.inputs:
- type: azure-eventhub
  eventhub: "insights-logs-appservicehttplogs"
  consumer_group: "$Default"
  connection_string: "Endpoint=sb://somesapace.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=blahblahblah"
  storage_account: "blobstorage"
  storage_account_key: "<omitted>"
  
output.elasticsearch:
  hosts: ["http://elastic:9200"]发布于 2021-03-29 23:08:20
答案是因为我使用的是Filebeat的oss版本。此模块仅适用于非oss版本的Filebeat。
https://stackoverflow.com/questions/66820582
复制相似问题