mirror of
https://github.com/Febbweiss/febbweiss.github.io.git
synced 2026-03-04 22:25:43 +00:00
Feature: update docs for log centralizer project
This commit is contained in:
27
src/docs/docker/docker_java_log_generator.md
Normal file
27
src/docs/docker/docker_java_log_generator.md
Normal file
@@ -0,0 +1,27 @@
|
||||
#Docker Java log generator
|
||||
This is a simple Docker container to provide Java logs with some exception stacktraces.
|
||||
It's based on [log-generator](https://github.com/Febbweiss/log-generator)
|
||||
|
||||
The default behaviour is the following :
|
||||
```
|
||||
java -jar /log-generator-0.0.2.jar -n 15 -r 1000
|
||||
```
|
||||
The endless generated file is located in /var/log/java/app.log.
|
||||
|
||||
|
||||
##Licences
|
||||
|
||||
Copyright (c) 2017 Fabrice ECAILLE aka Febbweiss
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.0/gh-fork-ribbon.min.css" />
|
||||
<!--[if lt IE 9]>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.0/gh-fork-ribbon.ie.min.css" />
|
||||
<![endif]-->
|
||||
<a class="github-fork-ribbon" href="https://github.com/Febbweiss/docker-java-log-generator" target="_blank" title="Fork me on GitHub">Fork me on GitHub</a>
|
||||
@@ -3,16 +3,18 @@ This a end-to-end log centralizer powered by the ELK stask.
|
||||
|
||||
##Embedded containers
|
||||
|
||||
1. [Filebeat](https://www.elastic.co/products/beats/filebeat) - An agent to poll logs
|
||||
2. [Logstash-Forwarder](https://github.com/elastic/logstash-forwarder) - An other agent to poll logs
|
||||
3. [Logstash](https://www.elastic.co/products/logstash) - The collector / analyzer / parser solution
|
||||
4. [Kafka](http://kafka.apache.org) - The queueing solution for logs
|
||||
5. [ZooKeeper](https://zookeeper.apache.org/) - The cluster on which Kafka is running
|
||||
6. [ElasticSearch](https://www.elastic.co/products/elasticsearch) - The indexing engine
|
||||
7. [Kibana](https://www.elastic.co/products/kibana) - The visualization / dashboard tool for ElasticSearch
|
||||
8. [Kafka Manager](https://github.com/yahoo/kafka-manager) - The Kafka cluster web manager
|
||||
9. [Apache log generator](https://github.com/Febbweiss/docker-apache-log-generator) - A container generating fake apache logs
|
||||
10. [Random log generator](https://hub.docker.com/r/davidmccormick/random_log_generator) - A container genrating text logs (Star Wars quotes)
|
||||
* [Filebeat](https://www.elastic.co/products/beats/filebeat) - An agent to poll logs
|
||||
* [Logstash-Forwarder](https://github.com/elastic/logstash-forwarder) - An other agent to poll logs
|
||||
* [rsyslog](http://www.rsyslog.com/) - A standard Linux log manager
|
||||
* [Logstash](https://www.elastic.co/products/logstash) - The collector / analyzer / parser solution
|
||||
* [Kafka](http://kafka.apache.org) - The queueing solution for logs
|
||||
* [ZooKeeper](https://zookeeper.apache.org/) - The cluster on which Kafka is running
|
||||
* [ElasticSearch](https://www.elastic.co/products/elasticsearch) - The indexing engine
|
||||
* [Kibana](https://www.elastic.co/products/kibana) - The visualization / dashboard tool for ElasticSearch
|
||||
* [Kafka Manager](https://github.com/yahoo/kafka-manager) - The Kafka cluster web manager
|
||||
* [Apache log generator](https://github.com/Febbweiss/docker-apache-log-generator) - A container generating fake apache logs
|
||||
* [Random log generator](https://hub.docker.com/r/davidmccormick/random_log_generator) - A container generating text logs (Star Wars quotes)
|
||||
* [Java log generator](https://github.com/Febbweiss/docker-java-log-generator) - A container generating Java logs (with exception stack trace)
|
||||
|
||||
##How it works
|
||||
|
||||
@@ -20,6 +22,7 @@ There are 2 agent types :
|
||||
|
||||
- Filebeat
|
||||
- Logstash-Forward
|
||||
- rsyslog
|
||||
|
||||
These agents push logs (from the apache and random generators) to a Logstasth shipper filling a Kafka queue (one type of log for one topic).
|
||||
A Logstash indexer polls the Kafka topics indexing logs into a ElasticSearch.
|
||||
|
||||
@@ -20,6 +20,7 @@ Different projects for different needs :
|
||||
+ [GoCD](/docker/docker_gocd) GoCD server and agents
|
||||
- Utilities
|
||||
+ [Apache log generator](/docker/docker_apache_log_generator)
|
||||
+ [Java log generator](/docker/docker_java_log_generator)
|
||||
* Javascript games
|
||||
- [Space invaders](/games/Space_invaders_stories)
|
||||
- [Pacman](/games/pacman)
|
||||
|
||||
Reference in New Issue
Block a user