Browse Source

When you're reading this, i'm on my way home...Happy New Year

mohammad
Mohammad Akbari 4 years ago
parent
commit
2909004bc3
Signed by: akbarjimi GPG Key ID: 55726AEFECE5E683
  1. 7
      filebeat.yml
  2. 2
      my.cnf
  3. 9
      run.sh

7
filebeat.yml

@ -6,7 +6,7 @@ filebeat.config:
processors: processors:
- add_cloud_metadata: ~ - add_cloud_metadata: ~
- add_docker_metadata: ~ - add_docker_metadata: ~
filebeat.inputs: filebeat.inputs:
#------------------------------ Log input -------------------------------- #------------------------------ Log input --------------------------------
- type: log - type: log
@ -129,7 +129,10 @@ filebeat.inputs:
# for Java Stack Traces or C-Line Continuation # for Java Stack Traces or C-Line Continuation
# The regexp Pattern that has to be matched. The example pattern matches all lines starting with [ # 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. # Defines if the pattern set under pattern should be negated or not. Default is false.
#multiline.negate: false #multiline.negate: false

2
my.cnf

@ -15,5 +15,5 @@ innodb_write_io_threads = 16
innodb_flush_neighbors = 0 innodb_flush_neighbors = 0
innodb_flushing_avg_loops = 100 innodb_flushing_avg_loops = 100
innodb_page_cleaners = 8 innodb_page_cleaners = 8
long_query_time = 0.2
long_query_time = 0.0
slow_query_log = ON 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