DF
Size: a a a
DF
MR
MR
DF
MR
MR
filter {
    if "APP1" in [tags] {
       #пока не знаю что должно быть тут
    }
    if "APP2" in [tags] {
       #и тут
    }
}EM
output {
  if [type] == «tag» {
    elasticsearch {
        …
    }
  }
}MR
EM
MR
EM
MR
MR
if "APP1" in [tags] - тут в файлбит tags со значением АПП1if [type] == «tag» - не совсем понялMR
MR
MR
output {
  if "APP1" in [tags]{
    elasticsearch { 
      hosts => ["127.0.0.1:9200"] 
      index => "app1"
    }  
  }
  if "APP2" in [tags]{
    elasticsearch { 
     hosts => ["127.0.0.1:9200"] 
     index => "app2"
   }
  }
}EM
fields:
  tags: APP1MR
MR