Flagsmith / Flagsmith/flagsmith

Add functionality to write audit log to file

Open
#1,877 0 comments 0 reactions 0 assignees View on GitHub
api feature front-end
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

For self hosted installations that may have issues with network access for e.g. webhooks, it can be useful to write the current audit log records to a file so they can be ingested as part of an existing monitoring setup.

In terms of formatting, we should write the logs in key value pairs to make it easier to ingest and parse the logs into whatever logs tool being used e.g.

action=feature_created, feature_name=ui_version, enabled=true, feature_value=1.0.0, user=user123@org.com

we should also include timestamp metadata along with the environment / project / organisation in which it occurred

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.