forked from RedHatInsights/insights-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEW_REMOVE_CONF_POC.yaml
45 lines (42 loc) · 1.07 KB
/
NEW_REMOVE_CONF_POC.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
# Omit entire output of commands
# Commands can be specified either by full command or
# by the "symbolic_name" listed in .cache.json
commands:
- /bin/rpm -qa
- /bin/ls
- ethtool_i
# Omit entire output of files
# Files can be specified either by full filename or
# by the "symbolic_name" listed in .cache.json
files:
- /var/lib/oioioioioi
- /var/lib/juice
# Omit lines from files and command output using parameters listed here.
# Lines matching the parameters specified will be omitted
# in the order that the parameters are given, e.g.,
#
# patterns:
# - example_string_1
# - example_string_2
#
# Lines containing "example_string_1" or "example_string_2" will be
# omitted from output.
#
# To use regular expressions, use the following format:
#
# patterns:
# regex:
# - abc*
# - localhost[[:digit:]]
#
# Lines matching these regular expressions will be omitted
# from output.
patterns:
regex:
- abc.*
# Replace keywords in files and command output with generic identifiers
# string - the string to search for
keywords:
- string: asdfjasdjfiosdf
- string: dasdagasf