loganalyzer报错

 
图片
出现以上的错误,是由于配置的时候使用了本地/var/log/syslog数据造成,而在rhel6.0以后默认这个文件没有安装,在配置的时候最好参考配置文档,来操作
If you choose MySQL native as data source, following information
               is needed:

               - Table Type = monitorware (default)
               This is the table layout. Currently, you can use "monitorware"
               or "syslogng". For more details see "Note on MySQL Databases"
               below.

               - Database Host = localhost (default)
               This is the host, where the database is located. By default this
               is localhost. You can specify any other host if necessary.

               - Database Name = loganalyzer (default)
               The name of the database you want to use.

               - Database Tablename = systemevents (default)
               This is the name of the table in which the data is stored. The
               default tablename corresponds to the tables created with the
               MonitorWare Line of products.

               - Database User = user (default)
               The username for the database.

               - Database Password = not set by default
               The password for the username.

               - Enable Row Counting = No (default)
               If configured to "Yes", the amount of rows in the table will be
               counted with every query, giving you the total records for your
               search, though having a lot of impact on your system when using
               a very large database. If configured to "No", the rows will not
               be counted, providing you a lot more performance.
按照以上的配置,用rsyslog连接mysql数据库应该不会存在问题。(注意红色部分)

你可能感兴趣的:(职场,休闲,loganalyzer报错)