Better logstash field data.
We are currently using a lot of wildcard searches in elasticsearch which are slow. Provide better field data so that we can replace those wildcard searches with filters. In particular add a short uuid field and make the filename tag field the basename of the filepath so that grenade and non grenade files all end up with the same tags. Change-Id: If558017fceae96bcf197e611ab5cac1cfe7ae9bf
This commit is contained in:
parent
e1c228c3b0
commit
7c9473ec26
|
@ -12,7 +12,7 @@ filter {
|
|||
if "screen" in [tags] and [message] =~ "^\+ " {
|
||||
drop {}
|
||||
}
|
||||
if "console.html" in [tags] {
|
||||
if "console" in [tags] or "console.html" in [tags] {
|
||||
if [message] == "<pre>" or [message] == "</pre>" {
|
||||
drop {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue