注册
登录
EAAS/NFV
Filebeat在作为服务启动时不替换Windows上的环境变量
返回
Filebeat在作为服务启动时不替换Windows上的环境变量
作者:
大黑骡子王
发布时间:
2024-08-09 10:45:44 (1月前)
转自:
: - '$ {My_Env_Variable} \ logs \ data.log *'
一切 跨度> 当我通过命令行启动filebeat时,工作正常:filebeat.exe -e -v。但是当我开始
如 跨度>
一个 跨度>
服务 跨度> 用:开始 -
服务 跨度> filebeat 我有以下 \ Filebeat \ filebeat.yml') 我试过单,双或没有引号。 有可能
一个 跨度> 此问题的可能重复:运行时Logstash中的环境变量替换
如 跨度>
一个 跨度>
服务 跨度> 在Ubuntu 谢谢你的帮助!
收藏
举报
2 条回复
0#
回复此人
你咖喱人biss嗷
|
2019-08-31 10-32
当filebeat作为服务启动时,用户是root用户,因此请确保您的环境变量是系统范围的
编辑
登录
后才能参与评论