加载中
sed行末行首添加字符

#行首添加字符 $ cat a.txt 1 2 3 $ sed 's/^/a_&/g' a.txt a_1 a_2 a_3 #行末添加字符 $ sed 's/$/_a&/g' a.txt 1_a 2_a 3_a #tr删除字符串中的数字 $ cat a.txt abc123 dadasdasd3432...

2017/01/17 10:22
1.7K
liblognorm编译

http://www.liblognorm.com/files/manual/installation.html #libfastjson下载 https://launchpad.net/ubuntu/+source/libfastjson/0.99.3-1 $ ./configure $ make $ sudo make install #l...

2016/08/04 15:36
297
elasticsearch threadpool setting

threadpool.bulk.type threadpool.bulk.size threadpool.bulk.queue_size

2016/07/27 16:16
1K
filebeat collect log

filebeat: prospectors: - paths: - /path/to/mysql-slow.log document_type: mysql-slow fields: type: mysql-slow tags: mysql-...

2016/07/05 17:06
172
heka

#example.toml yangg@yangg-ubuntu:~/heka/config$ cat example.toml [hekad] maxprocs = 2 [stat_graph] type = "SandboxFilter" filename = "lua_filters/stat_graph.lua" ticker_interv...

2016/06/28 15:07
831
kafka常用命令

kafka自带sh脚本使用示例: (1)启动/关闭kafka服务: ```shell nohup env JMX_PORT=9999 /path/to/kafka_2.10-0.8.2.2/bin/kafka-server-start.sh config/server.properties >/dev/null 2...

2015/12/04 14:16
1.2K
rsyslog队列参数

http://www.rsyslog.com/doc/v8-stable/rainerscript/queue_parameters.html

2015/11/18 10:17
1.6K
Rsyslog队列信息表示的含义

rsyslog 有专门的 impstats 模块,输出本身运行情况的统计; enqueued 表示进入队列的条目数, size 表示暂存在内存中的条目数, discarded.full 表示队列满丢弃的条目数, discarded.nf 表示...

2015/11/13 14:35
619
liblognormalize的相关知识

主页地址:liblognormalize rsyslog的相关配置: ruleset(name=="testnormalize" ) {     action(             type="mmnormalize"             ruleBase="/...

2015/10/21 16:40
125
ES权威指南(中文版)学习_聚合_3

Elasticsearch有一个功能叫做聚合(aggregations),它允许你在数据上生成复杂的分析统计。它很像SQL中的GROUP BY但是功能更强大。

2015/09/21 14:50
132
ES权威指南(中文版)学习_搜索_2

文档1 PUT /megacorp/employee/1 {         "first_name" : "John",         "last_name" :  "Smith",         "age" :        25,        ...

2015/09/21 14:38
178
ES权威指南(中文版)学习_1

ES权威指南中文版 学习地址:http://es.xiaoleilu.com/

2015/09/21 11:28
931

没有更多内容

加载失败,请刷新页面

返回顶部
顶部