logshot

command module
v0.0.0-...-82cd86b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2016 License: MIT Imports: 8 Imported by: 0

README

基于go的日志采集工具

a log collector which in support of sending data to kafka or other mq

how to use ?


  cd $path/logshot/ 目录下
  执行 `make build` , 如果生成$path下生成/builds/logshot二进制文件,则表示构建成功


  进入 $path/builds

  执行命令 ./logshot --config=$configPath/conf.ini

命令相关参数说明:

--readall 监控整个文件(默认为false) --sender=xxx 指定自定义的采集器(默认为default, eg: --sender=kafka,则采用kafka采集器进行日志采集) --hb 是否开启心跳检测 --profile 生成性能快照 (cpu 和 内存) --check 检测配置文件合法性

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL