1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv to manually rebuild the font cache
1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv to manually rebuild the font cache
| ## Consumer Throughput: Single consumer thread, no compression | |
| ## Consumer Throughput: 3 consumer thread, no compression | |
| bin/kafka-consumer-perf-test.sh --topic benchmark-3-3-none \ | |
| --zookeeper kafka-zk-1:2181,kafka-zk-2:2181,kafka-zk-3:2181 \ | |
| --messages 15000000 \ | |
| --threads 1 |
| 1. Enable Receiver ( rsyslog-server ) setup at elk5 container | |
| a. Update elk5 ( receiver ) rsyslog.conf | |
| # sudo vi /etc/rsyslog.conf | |
| Change | |
| from | |
| # provides UDP syslog reception | |
| #$ModLoad imudp | |
| #$UDPServerRun 514 | |
| # provides TCP syslog reception |
| -- Get Max ID from table | |
| SELECT MAX(id) FROM table; | |
| -- Get Next ID from table | |
| SELECT nextval('table_id_seq'); | |
| -- Set Next ID Value to MAX ID | |
| SELECT setval('table_id_seq', (SELECT MAX(id) FROM table)); |
| """ | |
| This module provides a simple WSGI profiler middleware for finding | |
| bottlenecks in web application. It uses the profile or cProfile | |
| module to do the profiling and writes the stats to the stream provided | |
| To use, run `flask_profiler.py` instead of `app.py` | |
| see: http://werkzeug.pocoo.org/docs/0.9/contrib/profiler/ | |
| and: http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xvi-debugging-testing-and-profiling | |
| """ |
| #!/usr/bin/python | |
| # Modified by Travis Lee | |
| # Last Updated: 4/21/14 | |
| # Version 1.16 | |
| # | |
| # -changed output to display text only instead of hexdump and made it easier to read | |
| # -added option to specify number of times to connect to server (to get more data) | |
| # -added option to send STARTTLS command for use with SMTP/POP/IMAP/FTP/etc... | |
| # -added option to specify an input file of multiple hosts, line delimited, with or without a port specified (host:port) |
Located in alphabetical order (not prefer)
Cab), also designed as a more modern replacement, written in Cgolang)| # this is a config sample for log normalization, but can | |
| # be used as a more complex general sample. | |
| # It is based on a plain standard rsyslog.conf for Red Hat systems. | |
| # | |
| # NOTE: Absolute path names for modules are used in this config | |
| # so that we can run a different rsyslog version alongside the | |
| # regular system-installed rsyslogd. Remove these path names | |
| # for production environment. | |
| #### MODULES #### |