Using logstash with tcp input to process your silverstripe log files.
This module makes it possible to log all data into a logstash-based system.
Write somewhere in your config:
<?php // create adapter $logstashAdapter = new LogstashAdapter(); // create log writer object $writer = LogstashFactory::factory($logstashAdapter, NetworkLogWriter::UDP); // set formatter $writer->setFormatter(new LogstashFormatter()); // add writer to log mechanism SS_Log::add_writer($writer, LogstashFactory::log_level(), '<=');
Documentation for logstash tcp input: https://www.elastic.co/guide/en/logstash/current/plugins-inputs-tcp.html
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem