发布时间:2015-10-27 18:15:08
kafka官网:http://kafka.apache.org/documentation.html#producerconfigs修改配置文件server.properties# Hostname the broker will bind to. If not set, the server will bind to all interfaceshost.name=192.168.56.120创建topic[root@ELk kafka_2.10-0.8.2.2]# bin/kafka-topics.sh --create --zookeeper loc.........【阅读全文】
发布时间:2015-10-27 15:39:17
[root@ELk logstash-1.5.4]# cat logstash-stdin.conf input { stdin{}}output { stdout{}}[root@ELk logstash-1.5.4]# bin/logstash agent -f logstash-stdin.conf Logstash startup completedHello World2015-10-27T07:37:26.435Z ELk Hello World.........【阅读全文】
发布时间:2015-10-27 14:38:51
[root@ELk bin]# ./logstash -e 'input{stdin{}}output{stdout{codec=>rubydebug}}'aaaaaaa结果:Logstash startup completed{ "message" => "aaaaaaa", "@version" => "1", "@timestamp" => "2015-10-27T06:00:04.615Z", .........【阅读全文】
发布时间:2015-10-27 13:54:33
ELK 包含Logstash+ElasticSearch+Kibana,其官方网站为:https://www.elastic.co/products/logstashJDK版本信息,必须选择1.7以及以上版本的JDK。[root@ELk elk]# java -versionjava version "1.7.0_79"Java(TM) SE Runtime Environment (build 1.7.0_79-b15)Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mi.........【阅读全文】
发布时间:2015-10-26 15:51:17
解压scala-2.10.4.tgz到/usr/local/scala目录下[root@Master scala]# pwd/usr/local/scala[root@Master scala]# lsscala-2.10.4 scala-2.10.4.tgz解压spark-1.5.0-bin-hadoop2.6.tgz到/usr/local/spark目录下[root@Master spark]# pwd/usr/local/spark[root@Master spark]# lsspark-1.5.0-bin-ha.........【阅读全文】