2017 © Pedro Peláez
 

library moodle-logstore_fluentd

Send Moodle's events to Fluentd

image

danielneis/moodle-logstore_fluentd

Send Moodle's events to Fluentd

  • Tuesday, June 20, 2017
  • by danielneis
  • Repository
  • 2 Watchers
  • 3 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Fluentd Logstore for Moodle

This is a plugin for Moodle that sends all events to a configured Fluentd instance., (*1)

Install

Put these files at moodle/admin/tool/log/store/fluentd, (*2)

  • You may use composer
  • or git clone
  • or download the latest version from https://github.com/danielneis/moodle-logstore_fluentd/archive/master.zip

This plugin uses the fluent/logger library to record events to Fluentd., (*3)

If you downloaded the code from github or have used "git clone", you can install it using composer on the root directory of the plugin with the following command:, (*4)

$ composer install

If you have installed the plugin via composer, it may already have downloaded the dependencies., (*5)

After puting the files on the correct directory, go to your Moodle site as admin and follow the stepes to get the plugin installed., (*6)

This plugin connects to Fluentd via sockets. It does not support the http interface. By default, Fluentd already listen on 24224, so you are all set if you just installed it from official packages., (*7)

Usage

After the plugin is installed, make sure you enable it going to Administration block > Site administration > Plugins > Logging > Manage logging stores, (*8)

Remember that the fluentd has a "flush interval" of 60s by default so you will not see thing immediately if you forward logs to another service., (*9)

Dev Info

Please, report issues at: https://github.com/danielneis/moodle-logstore_fluentd/issues, (*10)

Feel free to send or comment on pull requests at: https://github.com/danielneis/moodle-logstore_fluentd/pulls, (*11)

Build Status Scrutinizer Code Quality, (*12)

The Versions

20/06 2017

dev-master

9999999-dev https://github.com/danielneis/moodle-logstore_fluentd

Send Moodle's events to Fluentd

  Sources   Download

GPL-3.0

The Requires

 

by Daniel Neis Araujo

fluentd moodle