通过 Logstash 将日志存入 Mysql
driver_jar_path => "/opt/mysql-connector-java-8.0.21.jar" driver_class => "com.mysql.jdbc.Driver" connection_string => "jdbc:mysql://127.0.0.1:3306/库名?user=USERNAME&password=PASSWORD&useUnicode=true&characterEncoding=UTF8"
网事随记
driver_jar_path => "/opt/mysql-connector-java-8.0.21.jar" driver_class => "com.mysql.jdbc.Driver" connection_string => "jdbc:mysql://127.0.0.1:3306/库名?user=USERNAME&password=PASSWORD&useUnicode=true&characterEncoding=UTF8"
barnyard2-master.zip https://codeload.github.com/firnsy/barnyard2/zip/master base-1.4.5.tar.gz https://nchc.dl.sourceforge.net/project/secureideas/BASE/base-1.4.5/base-1.4.5.tar.gz daq-master.zip https://codeload.github.com/jasonish/daq/zip/master adodb-5.20.18.zip https://nchc.dl.sourceforge.net/project/adodb/adodb-php5-only/adodb-520-for-php5/adodb-5.20.18.zip Image_Canvas-0.3.5.tgz http://download.pear.php.net/package/Image_Canvas-0.3.5.tgz
Checking if your kit is complete... Looks good Writing Makefile for Geo::IPfree [root@dq geoip]# make cp lib/Geo/IPfree.pm blib/lib/Geo/IPfree.pm cp lib/Geo/ipscountry.dat blib/lib/Geo/ipscountry.dat cp lib/Geo/ipct2txt.pl blib/lib/Geo/ipct2txt.pl cp lib/Geo/txt2ipct.pl blib/lib/Geo/txt2ipct.pl Manifying blib/man3/Geo::IPfree.3pm
Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
vi /etc/nginx/nginx.conf server { listen 80 default_server; listen [::]:80 default_server; server_name _; root /usr/share/nginx/html; //增加下面一行 index index.php index.html index.htm; # Load configuration files for the default server block. include /etc/nginx/default.d/*.conf; location / { } error_page 404 /404.html; location = /40x.html { } error_page 500 502 503 504 /50x.html; location = /50x.html {
V