Authelia Collection
Now we have to tell Authelia to write its log file to the shared folder, so that crowdsec can parse it and respond accordingly.
First, edit your Authelia docker template, to map the Authelia log output folder to the shared folder :
Then edit the configuration.yml
file in Authelia appdata folder (appdata/authelia), in order to enable logging. (The values maybe already there but edited out, so just search for them).
And then, edit your docker crowdsec template to enable Authelia collection, by adding LePresidente/authelia
to the COLLECTIONS variable :
And finally, edit your acquis.yml
file in your crowdsec's appdata folder (appdata/crowdsec) to add these lines : (don't leave any empty spaces)
Restart your containers, crowdsec and authelia.
Use the "Useful Commands" cscli collections list
and cscli metrics
to check your collections and metrics, that should be ok!
Last updated