|
|
@@ -417,7 +417,7 @@ async function main() {
|
|
|
await initializeServices(); // Initialize OMS DB and ClickHouse
|
|
|
|
|
|
// --- Hardcoded parameters for one-time ingestion ---
|
|
|
- const logFilesDirectory = process.env.LOG_FILES_DIR || path.join(__dirname, "../logs_archive"); // Fallback directory
|
|
|
+ const logFilesDirectory = process.argv[2] || path.join(__dirname, "../../../../../logs/"); // Fallback directory
|
|
|
const ingestionStartDate = "20250821"; // Start date for log files
|
|
|
const ingestionEndDate = "20250821"; // End date for log files
|
|
|
|