replay-config.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Inputs:
  2. - SiemensCPU: siemens.snap7_connect
  3. enabled: False
  4. host: "<S7 PLC IP>"
  5. - SiemensServer: siemens.snap7_server
  6. enabled: False
  7. port: 102
  8. - Balluff: balluff.balluff_html
  9. enabled: False
  10. - AllenBradleyCPU: rockwell.allen_bradley_connect
  11. host: "<AB PLC IP>"
  12. enabled: False
  13. - Replay: replay_influxdb
  14. enabled: True
  15. url: "http://influxdb-replay:8086"
  16. token: "<token>"
  17. org: "myorg"
  18. bucket: "energy-monitor"
  19. start_time: 01.01.2000 01:00:00 +02:00
  20. Middlewares:
  21. - PrintStats: debug
  22. enabled: True
  23. - TimeCorrelation: time_correlation
  24. enabled: False
  25. enableOutput: False
  26. submodules:
  27. - PrintStats: debug
  28. Outputs:
  29. - CSVStorage: csv_file
  30. path: logs
  31. - InfluxDB: influxdb
  32. url: "http://influxdb:8086"
  33. token: "<token>"
  34. org: "myorg"
  35. bucket: "energy-monitor"
  36. Logging:
  37. version: 1
  38. formatters:
  39. standard:
  40. format: "%(asctime)s [%(levelname)s] \t%(name)s: \t%(message)s"
  41. handlers:
  42. default:
  43. level: INFO
  44. formatter: standard
  45. class: logging.StreamHandler
  46. stream: ext://sys.stderr
  47. loggers:
  48. '':
  49. handlers:
  50. - default
  51. level: DEBUG
  52. propagate: false
  53. inputs.rockwell.allen_bradley_connect:
  54. handlers:
  55. - default
  56. level: WARNING
  57. propagate: false
  58. snap7.server:
  59. handlers:
  60. - default
  61. level: WARNING
  62. propagate: false
  63. __main__:
  64. handlers:
  65. - default
  66. level: DEBUG
  67. propagate: false