Monthly Archives: December 2019

Logstash Debugging mode

There may be times when you need to check in the console that Logstash is running normally. A useful option is to use the following command: CentOS-based logstash installation location is / usr / share / logstash / bin / logstash, and the configuration file to test can be specified with -f.

Logrotate – how to split log hourly on ubuntu or centos 6/7

Logrotate – how to split log hourly on ubuntu or centos 6/7   make hourly logrotate Create an hourly working directory and copy the syslog you will use in the example. sudo mkdir /etc/logrotate.hourly.d sudo cp /etc/logrotate.d/syslog /etc/logrotate.hourly.d/syslog Then type the following: sudo vi etc/logrotate.hourly.d/syslog /var/log/syslog { rotate 48 hourly missingok notifempty delaycompress compress postrotate

Read More

Detection ADBlockPlease, Disable or add to white list on our site.