[英]Using Logstash to pass airflow logs to Elasticsearch
When using logstash to retrieve airflow logs from a folder you have access to, would I still need to make any changes in the airflow.cfg file?当使用 logstash 从您有权访问的文件夹中检索 airflow 日志时,我还需要在 airflow.cfg 文件中进行任何更改吗?
For instance, I have airflow and ELK deployed on same ec2 instance.例如,我将 airflow 和 ELK 部署在同一个 ec2 实例上。 The logstash.conf file has access to the airflow logs path since they are on the same instance.
logstash.conf 文件可以访问 airflow 日志路径,因为它们位于同一实例上。 Do I need to turn on
remote logging
in airflow config?我是否需要在 airflow 配置中打开
remote logging
?
In fact you have two options to push airflow logs to Elastic Search:实际上,您有两个选项可以将 airflow 日志推送到 Elastic Search:
So the answer to your question is no, if you have a logstash, you don't need Airflow remote logging
config所以你的问题的答案是否定的,如果你有一个logstash,你不需要Airflow
remote logging
配置
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.