Comments (2)
还是之前的问题,想在本地测试一下数据丢失和数据重复的问题,然后想使用flusher_statistics来进行数量的统计,但是目前flusher_statistics支持rate的数据,所以手动添加了Counter类型统计采集的数据,然后手动执行make build获取到了可执行文件。然后可以通过这个可执行文件进行测试,但是不知道如何指定file input。下面是我的配置文件,结果是报错:
{ "inputs":[ { "type": "metric_debug_file", "detail": { "InputFilePath": "/var/log/yum.log" } } ], "processors":[ { "type":"processor_default" } ], "flushers":[ { "type":"flusher_statistics", "detail":{ "RateIntervalMs":10000 } } ] }
报错显示这个metric_debug_file插件不存在,所以想知道哪里出了问题,还有如何自己在本地测试呢?
from ilogtail.
你可以改一下代码,将这个插件放到all_linux.go或all.go中。
from ilogtail.
Related Issues (20)
- [FEATURE]: Bump Go version to 1.8.5
- [FEATURE]: Support ARM64 platform
- [FEATURE]:use shell script to make vendor
- [QUESTION]:重启服务时,如何从文件开始读取数据,而不是从上次读取的偏移处开始?在跑小demo时,重启服务,无法重新从文件开始处读取。 HOT 2
- [QUESTION]: Make dist总是提示内存不足被系统kill掉
- [FEATURE]: Add support for log protocol conversion | 增加通用日志协议转换功能
- [Publicity]: iLogtail配置文件热加载
- [FEATURE]: Reduce file handle release timeout for stopped containers
- [BUG]: Stdout content is lost for containers alive for < 3s
- [BUG]: enable_log_position_meta配置后不生效 HOT 1
- [FEATURE]: 守护进程 HOT 5
- [FEATURE]sls_logs.proto建议定义成ms时间戳 HOT 1
- [FEATURE]: Bump Go version to 1.19.1 HOT 3
- [BUG]:容器日志文件收集,一个日志文件打开多个文件描述符 HOT 6
- [FEATURE]: service_http_server support OLTP log input
- 在devcontainer镜像中加入 go language server tools
- [FEATURE]:support http and https flusher HOT 5
- [BUG] ilogtail 插件 input service_kafka报错 HOT 1
- 测试syslog输入源tcp类型报错 HOT 1
- [DOC]: Polish Bad Docs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ilogtail.