Send ProcessWire Logs to Logstash/Kibana
Modules that maintain activity logs or monitor and report activity in some form or another.
Close to stable, but users are advised to be cautious and test thoroughly.*
|Date Added||March 21, 2020|
|Last Updated||March 27, 2020|
This module's files should be placed in /site/modules/ProcessLogstash/
How to install or uninstall modules
- Execute the following command in the root directory of your ProcessWire installation:
composer require blue-tomato/process-logstash
ProcessWire will detect the module and list it in the backend's
ProcessLogstashsection. Navigate there and install it.
Add you Logstash HTTP-Input Endpoint URL into field on the Module Configuration Page
If you want to override the endpoint URL set by the module configuration you can add to your config.php or config-dev.php following:
$config->processLogstash = [ "endpoint" => "http://localhost:9600" ]
If you want to deactivate the logging you can set this also to
$config->processLogstash = [ "endpoint" => false ]
If you want to add information about your server environment you can add following to the config.php:
$config->processLogstash = [ "env" => "stage" ]
This will be added as "env" to your log messages.
Some Logstash cloud providers like logit.io need an API Key in the HTTP Headers. You can add it with this way in the config.php
$config->processLogstash = [ "customHttpHeaders" => [ "ApiKey: YOUR-API_KEY" ] ]
If you have your Server behind a proxy, you can add to your
config.php file following properties:
$config->processLogstash['proxy'] = "http://your-http-proxy-server.xyz:8888";
Please open an issue for support.
Create a branch on your fork, add commits to your fork, and open a pull request from your fork to this repository.
To get better insights and onboard you on module implementation details just open a support issue. We'll get back to you asap.
This module is made by people from Blue Tomato. If you want to read more about our work, follow us on https://dev.to/btdev
Find all information about this module's license in the LICENCE.txt file.
- Admin Helpers
- Core Modules
- Development Tools
- Field Types
- Input Fields
- Language Modules
- Language Packs
- Markup Generation
- Premium Modules
- Process Modules
- Proof of Concept
- Site Profiles
- Social, Feeds, Services
- Text Formatters
- Other Modules
- Users and Access
*Use modules at your own risk. There are no guarantees or warranties. It is recommended that you backup your site and database before installing new modules.