examples/config.yml in oas-log-collector-0.1.4 vs examples/config.yml in oas-log-collector-0.1.5
- old
+ new
@@ -1,11 +1,12 @@
# Sample configuration file for OAS Log Collector.
# oas-log-collector -C config.yml
---
-:days_to_search: 10
-:files_to_copy: 90
-:sleep_seconds: 56400
-:logs_path: '~/oas-log-collector'
-:source_logs_path: '/home/central/RealMedia/ads/Logs/uv/out'
-:sources:
- - ['de-01', 'central']
- - ['de-02', 'central']
+:redis_url: 'redis://localhost:6379/0' # Redis url.
+:days_to_search: 10 # Search files which were modified n*24 hs ago.
+:files_to_copy: 90 # Collect at max n files per run.
+:sleep_seconds: 900 # Time in seconds to wait betweetn runs.
+:logs_path: '~/oas-log-collector' # Directory were the collected logs are going to be saved.
+:source_logs_path: '/path/to/logs/directory' # Directory in remote servers were the logs are located.
+:sources: # Array of log servers.
+ - ['server1', 'appuser'] # [host, user, port] - Port is optional, defaults to 22.
+ - ['server2', 'appuser']
\ No newline at end of file