Saltstack Official Galera Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
593B

  1. log_collector:
  2. decoder:
  3. galera:
  4. engine: sandbox
  5. module_file: /usr/share/lma_collector/decoders/galera.lua
  6. module_dir: /usr/share/lma_collector/common;/usr/share/heka/lua_modules
  7. adjust_timezone: true
  8. input:
  9. galera:
  10. engine: logstreamer
  11. log_directory: "/var/log"
  12. file_match: 'mysql/error.log$'
  13. differentiator: ["galera"]
  14. decoder: "galera_decoder"
  15. splitter: "galera_splitter"
  16. splitter:
  17. galera:
  18. engine: regex
  19. delimiter: '\n([0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2})'
  20. delimiter_eol: false