阿里日志QA

Q:索引别名的作用?
A:

https://help.aliyun.com/zh/sls/user-guide/column-aliases?spm=a2c4g.11186623.0.i24

 

Q:更改Logtail收集日志source ip地址;

A:

https://help.aliyun.com/zh/sls/user-guide/configure-the-startup-parameters-of-logtail?spm=a2c4g.11186623.0.i302

设置启动参数:

修改:working_ip

 

Q:Logtail心跳失败

A:

https://help.aliyun.com/zh/sls/user-guide/troubleshoot-the-errors-related-to-logtail-machine-groups?spm=5176.28426678.J_HeJR_wZokYt378dwP-lLl.11.583051817gtMiO&scm=20140722.S_help@@%E6%96%87%E6%A1%A3@@48851.S_RQW@ag0+BB2@ag0+BB1@ag0+os0.ID_48851-RL_%E6%A3%80%E6%9F%A5Logtail%E6%98%AF%E5%90%A6%E6%AD%A3%E5%B8%B8%E8%BF%90%E8%A1%8C-LOC_search~UND~helpdoc~UND~item-OR_ser-V_3-P0_0

 

Q:使用资费?

A:

https://help.aliyun.com/zh/sls/user-guide/usage-notes-45?spm=a2c4g.11186623.0.0.602a7d40hiNqos

 

Q:如何删除历史数据

A:

1,删除logstore

2,设置Logstore数据保存时间。

 

 

Q:正则表达式匹配括号里面的某个文件名词;

A:\/var\/log\/nginx\/(.*?)\/error.log

 

 

Q:采集历史日志

A:

https://help.aliyun.com/zh/sls/user-guide/import-historical-logs?spm=a2c4g.11186623.0.i230

posted @ 2024-05-21 09:26  Coding_Yong  阅读(7)  评论(0编辑  收藏  举报