Improve readability of Exclude_lines:

(Stiv Ostenberg) #1

Ok, Iffen I want to exclude me some lines, I do it thusly:
exclude_lines: ["exclude me","and me","and me too"]
This works, but I have some long strings In need to exclude, and it makes it tough to read.

When setting paths, you do it like this:

  • "some path"
  • "another path".

Can I use the same "-" list to define exclude lines eg:


  • "exclude me"
  • "and me"
  • "and me too"

I tried, and didnt seem to work.

(Andrew Kroh) #2

The config file is standard YAML so you can write the sequence either way (block or flow style).

You can check that your file is valid YAML with

      - DEBUG
      - TRACE
      - /var/log/messages

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.