Skip to content

Commit

Permalink
Added filter for DLQs
Browse files Browse the repository at this point in the history
Added a new filter to handle DLQs settings.

In this case, we lowercase the app name because ES does not allow
indices to be created with uppercase chars
  • Loading branch information
antoniocascais committed Jan 31, 2019
1 parent 3d1c9cf commit bfebe1e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions manifest/operations/pipelines/cf-apps-es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,16 @@
}
}
filter-60-dlq: |
##------------------------------
## Handles Dead Letter Queues filters
##------------------------------
filter {
mutate {
lowercase => ["[@cf][app]"]
}
}
filter-90-set_syslog_level: |
##-------------------
# define syslog level
Expand Down
9 changes: 9 additions & 0 deletions manifest/operations/pipelines/cf-apps-es/filter-60-dlq.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
##------------------------------
## Handles Dead Letter Queues filters
##------------------------------

filter {
mutate {
lowercase => ["[@cf][app]"]
}
}

0 comments on commit bfebe1e

Please sign in to comment.