Guest User

Untitled

a guest
Oct 18th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. # watch all files in <path>
  2. [monitor:///var/log/containers/*.log]
  3. # extract `host` from the first group in the filename
  4. host_regex = /var/log/containers/(.*)_.*_.*.log
  5. # set source type to Kubernetes
  6. sourcetype = kubernetes
  7. index = testindex
  8. _meta = env::test
Add Comment
Please, Sign In to add comment