Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. filter {
  2. translate {
  3. field => "[netflow][protocol]"
  4. destination => "[netflow][protocol]"
  5. override => "true"
  6. dictionary => [ "6", "TCP",
  7. "17", "UDP",
  8. "1", "ICMP",
  9. "47", "GRE",
  10. "50", "ESP" ]
  11. }
  12. mutate {
  13. add_field => { "[netflow][application]" => "%{[netflow][protocol]}" }
  14. }
  15. translate {
  16. field => "[netflow][application]"
  17. destination => "[netflow][application]"
  18. override => "true"
  19. dictionary_path => "/etc/logstash/conf.d/tcp_service_mappings.conf"
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement