Advertisement
rharing66

filebeat.yml

Dec 13th, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. {
  2. "description" : "Ingest pipeline for Apache httpd Combined Log Format",
  3. "processors" : [
  4. {
  5. "grok": {
  6. "field": "message",
  7. "patterns": ["%{IPORHOST:clientip} %{USER:ident} %{USER:auth} \\[%{HTTPDATE:timestamp}\\] \"%{WORD:verb} %{URIPATHPARAM:request} HTTP/%{NUMBER:httpversion}\" %{NUMBER:response:int} (?:-|%{NUMBER:bytes:int}) %{QS:referrer} %{QS:agent}"]
  8. }
  9. },
  10. {
  11. "set":{
  12. "field": "myVersion",
  13. "value": "14"
  14. }
  15. },
  16. {
  17. "date": {
  18. "field": "timestamp",
  19. "formats": [ "dd/MMM/YYYY:HH:mm:ss Z" ]
  20. }
  21. },
  22. {
  23. "geoip": {
  24. "field": "clientip"
  25. }
  26. },
  27. {
  28. "user_agent": {
  29. "field": "agent"
  30. }
  31. }
  32. ]
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement