From 01cda8792213340fdedcd364dedb2a73564d27f2 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Fri, 13 Nov 2020 17:47:31 -0500 Subject: Remove systemd support. Add alertmanager. Remove old template --- filter_plugins/__pycache__/forEachAppend.cpython-38.pyc | Bin 0 -> 784 bytes filter_plugins/forEachAppend.py | 10 ++++++++++ 2 files changed, 10 insertions(+) create mode 100644 filter_plugins/__pycache__/forEachAppend.cpython-38.pyc create mode 100644 filter_plugins/forEachAppend.py (limited to 'filter_plugins') diff --git a/filter_plugins/__pycache__/forEachAppend.cpython-38.pyc b/filter_plugins/__pycache__/forEachAppend.cpython-38.pyc new file mode 100644 index 0000000..124454c Binary files /dev/null and b/filter_plugins/__pycache__/forEachAppend.cpython-38.pyc differ diff --git a/filter_plugins/forEachAppend.py b/filter_plugins/forEachAppend.py new file mode 100644 index 0000000..b5d676d --- /dev/null +++ b/filter_plugins/forEachAppend.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python + +class FilterModule(object): + def filters(self): + return { + 'forEachAppend': self.forEachAppend, + } + + def forEachAppend(self, arr, _str): + return [ x +_str for x in arr ] -- cgit v1.2.3