Advertisement
Guest User

Untitled

a guest
Dec 14th, 2020
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. processors:
  2. - drop_event:
  3. when:
  4. regexp:
  5. message: "DEBUG -- :"
  6.  
  7. - include_fields:
  8. fields: ["deviceId", "productId", "lang_from", "lang_to", "text"]
  9.  
  10. #upper include_fields exchange to below
  11. - include_fields:
  12. when:
  13. regexp:
  14. fields: ["deviceId", "productId", "lang_from", "lang_to", "text"]
  15.  
  16. #below drop_event I exchange to upper
  17. - drop_event
  18. has_fields: ["ActiveRecord", "Completed", "Update"]
  19.  
  20.  
  21.  
  22.  
  23. processors:
  24. - drop_event:
  25. when:
  26. and:
  27. - contains:
  28. message: ActiveRecord
  29. - contains:
  30. message: Completed
  31. - contains:
  32. message: Update
  33.  
  34.  
  35. processors:
  36. - include_fields:
  37. fields: ["deviceId", "productId", "lang_from", "lang_to", "text"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement