https://github.com/aabouzaid/ulog-formula
SaltStack formula to install and configure ulogd.
https://github.com/aabouzaid/ulog-formula
saltstack saltstack-formula ulogd2
Last synced: about 1 year ago
JSON representation
SaltStack formula to install and configure ulogd.
- Host: GitHub
- URL: https://github.com/aabouzaid/ulog-formula
- Owner: aabouzaid
- License: apache-2.0
- Created: 2017-11-09T21:38:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-09-09T22:32:11.000Z (almost 3 years ago)
- Last Synced: 2025-02-05T11:36:36.571Z (over 1 year ago)
- Topics: saltstack, saltstack-formula, ulogd2
- Language: HTML
- Homepage: http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
======
ulog
======
Install and configure `ulogd `_ the userspace logging daemon for netfilter/iptables related logging.
.. Note::
See the full `Salt Formulas installation and usage instructions
`_.
Available states
================
.. contents::
:local:
``ulog``
------------
Installs and configures ``ulogd`` service.
Configuration
=============
You need to configure a stack inside ``sections``
to make the "stack" use it inside ``/etc/ulogd.conf``.
For example, this will create a stack to log "iptables" connection tracking events.
.. code:: yaml
ulog:
sections:
iptables:
stack:
- "base1:BASE"
- "ifi1:IFINDEX"
- "ip2str1:IP2STR"
- "print1:PRINTPKT"
config:
input01:
plugin: NFLOG
vars:
group: 30
output01:
plugin: LOGEMU
vars:
file: /var/log/iptables.log
.. vim: fenc=utf-8 spell spl=en cc=100 tw=99 fo=want sts=4 sw=4 et