td-logger-python:用于td-agent的Python日志记录模块

时间:2021-05-22 05:52:27
【文件属性】:
文件名称:td-logger-python:用于td-agent的Python日志记录模块
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-22 05:52:27
Python td-logger:Treasure Data Cloud的日志记录库 设置 在使用此日志记录处理程序之前,必须在本地主机上正确配置td-agent。 请确认这些设置在您的/etc/td-agent/td-agent.conf中。 ## built-in TCP input type tcp # Treasure Data output # match events whose tag is td.DATABASE.TABLE type tdlog apikey YOUR_API_KEY 有关更多信息,请参阅文档。 安装 $ easy_install td-logger 或者 $ pip install td-logger 用法 请查看测试文件夹以获取更多示例。 import lo
【文件预览】:
td-logger-python-master
----setup.py(868B)
----.gitignore(58B)
----MANIFEST.in(35B)
----tdlog()
--------__init__.py(0B)
--------logger.py(4KB)
----README.md(2KB)
----tests()
--------test_handler.py(383B)
--------__init__.py(0B)

网友评论