dev-master
9999999-dev https://github.com/lorenzo/cakephp-logstashCakePHP logstash log stream
MIT
The Requires
log cakephp logstash
 Wallogit.com
                    
                    2017 © Pedro Peláez
                         Wallogit.com
                    
                    2017 © Pedro Peláez
                    
                    
                    
                    
                
                
            
CakePHP logstash log stream
The only installation method supported by this plugin is by using composer. Just add this to your composer.json configuration:, (*1)
{
  "require" : {
    "lorenzo/cakephp-logstash": "master"
  }
}
You need to enable the plugin your app/Config/bootstrap.php file:, (*2)
CakePlugin::load('Logstash');
Finally add a new logging stream in the same file:, (*3)
CakeLog::config('debug', array(
    'engine' => 'Logstash.LogstashLog',
    'types' => array('list', 'of', 'type', 'to', 'log'),
    'host' => 'tcp://127.0.0.1', // Set it to the real host works with udp too
    'port' => 2020, // Set it to the actual port
    'timeout' => 5 // Connection timeout
));
        CakePHP logstash log stream
MIT
log cakephp logstash