Browse Source

Merge pull request 'mohammad' (#8) from mohammad into master

Reviewed-on: #8
master
omidshj 4 years ago
parent
commit
60d59c953e
  1. 5
      docker-compose.yml
  2. 5
      filebeat.yml
  3. 978
      liwo.json
  4. 2
      my.cnf
  5. 9
      run.sh

5
docker-compose.yml

@ -132,9 +132,14 @@ services:
networks:
- hi-user
graylog:
user: graylog
container_name: "graylog"
image: graylog/graylog:4.0.5
volumes:
- ./liwo.json:/usr/share/graylog/data/contentpacks/liwo.json
environment:
GRAYLOG_CONTENT_PACKS_LOADER_ENABLED: "true"
GRAYLOG_CONTENT_PACKS_AUTO_INSTALL: "liwo.json"
GRAYLOG_HTTP_EXTERNAL_URI: "http://127.0.0.1:9000/"
GRAYLOG_PASSWORD_SECRET: supersecretpassword
GRAYLOG_ROOT_PASSWORD_SHA2: "8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918"

5
filebeat.yml

@ -129,7 +129,10 @@ filebeat.inputs:
# for Java Stack Traces or C-Line Continuation
# The regexp Pattern that has to be matched. The example pattern matches all lines starting with [
# multiline.pattern: ^\[
multiline.pattern: '^\#[[:space:]]Time'
multiline.negate: true
multiline.match: after
# Defines if the pattern set under pattern should be negated or not. Default is false.
#multiline.negate: false

978
liwo.json
File diff suppressed because it is too large
View File

2
my.cnf

@ -15,5 +15,5 @@ innodb_write_io_threads = 16
innodb_flush_neighbors = 0
innodb_flushing_avg_loops = 100
innodb_page_cleaners = 8
long_query_time = 0.2
long_query_time = 0.0
slow_query_log = ON

9
run.sh

@ -0,0 +1,9 @@
/home/akbarjimi/Projects/Liwo/vendor/bin/sail down;
sudo rm -rf /home/akbarjimi/Projects/Liwo/storage/logs/mysql;
docker container prune; docker image prune; docker network prune; docker volume prune;
docker network create hi;
/home/akbarjimi/Projects/Liwo/vendor/bin/sail up --build;
sleep 10;
/home/akbarjimi/Projects/Liwo/vendor/bin/sail artisan migrate:fresh --seed;
Loading…
Cancel
Save