Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION]:日志文件名格式为 /var/www/bussiness-y-m-d.log,如何把bussiness这个值塞入到label里 #1987

Open
pz9042 opened this issue Dec 23, 2024 · 0 comments
Labels
question Further information is requested

Comments

@pz9042
Copy link

pz9042 commented Dec 23, 2024

Before asking a question, please first consider:


提问之前,建议先在 LoongCollector 社区寻找答案。

目录下有有一批日志文件,文件名称各位为 /var/www/xxx-y-m-d.log,这个xxx的值可能有很多种,比如访问日志,异常日志,道具流水日志,业务操作日志,如何把xxx的值放入到label中?不想为每个值建一个配置文件,因为可能开发了一个业务功能就会多一个

@pz9042 pz9042 added the question Further information is requested label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant