Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. filter {
  2.  
  3. grok {
  4. match => { "message" => "%{NUMBER:items}" }
  5. }
  6. mutate {
  7. convert => {
  8. "items" => "integer"
  9. }
  10. }
  11. }
  12.  
  13. "_index": "logstash-2016.02.11",
  14. "_type": "log",
  15. "_id": "AVLQWdQahJCubOSQU-YL",
  16. "_score": null,
  17. "_source": {
  18. "message": "672",
  19. "@version": "1",
  20. "@timestamp": "2016-02-11T12:41:23.709Z",
  21. "beat": {
  22. "hostname": "TEST",
  23. "name": "TEST"
  24. },
  25. "count": 1,
  26. "fields": null,
  27. "input_type": "log",
  28. "offset": 0,
  29. "source": "/home/invsize.log",
  30. "type": "log",
  31. "host": "TEST",
  32. "tags": [
  33. "_grokparsefailure"
  34. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement