GithubHelp home page GithubHelp logo

Comments (2)

Tsukiand avatar Tsukiand commented on May 8, 2024

还是之前的问题,想在本地测试一下数据丢失和数据重复的问题,然后想使用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.

yyuuttaaoo avatar yyuuttaaoo commented on May 8, 2024

image
你可以改一下代码,将这个插件放到all_linux.go或all.go中。

from ilogtail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.