# ========================================================================== # _ _ _ ____ ____ _____ # | | | (_) _ \ ___ _ __ / ___|___ _ _|_ _| __ __ _ ___ ___ _ __ # | |_| | | |_) / _ \ '__| | / _ \| '_ \| || '__/ _` |/ __/ _ \ '__| # | _ | | __/ __/ | | |__| (_) | | | | || | | (_| | (_| __/ | # |_| |_|_|_| \___|_| \____\___/|_| |_|_||_| \__,_|\___\___|_| # # --- High-Performance Connectivity Tracer (HiPerConTracer) --- # https://www.nntb.no/~dreibh/hipercontracer/ # ========================================================================== # # High-Performance Connectivity Tracer (HiPerConTracer) # Copyright (C) 2015-2026 by Thomas Dreibholz # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Contact: dreibh@simula.no # ====== Importer Configuration ============================================= # Import modes: DeleteImportedFiles MoveImportedFiles KeepImportedFiles # DeleteImportedFiles = Delete successfully imported files # MoveImportedFiles = Move successfully imported files to good path # KeepImportedFiles = Keep successfully imported files where they are # USE FOR DEBUGGING ONLY: # Any subsequent importer run will process them again! import_mode = MoveImportedFiles # Regular expression to filter input files: import_path_filter = .* # Import directory and maximum search depth (1 = only the directory itself): import_file_path = /var/hipercontracer/data/ import_max_depth = 6 # NOTE: good and bad file directories MUST NOT be a subdirectory of the # import directory! bad_file_path = /var/hipercontracer/bad/ good_file_path = /var/hipercontracer/good/ # Sorting of files in good/bad file directories, taking levels of the # original file name's directory hierarchy as well as of the timestamp: # Example: # dataFile="4133/Ping/2024-06-11/Ping-ICMP-#12345678-0.0.0.0-20240611T151022.876543-000000001.hpct.xz" # timestamp=(2024-06-11 15:10:22.876543) # move_directory_depth=0 move_timestamp_depth=5 -> "2024/06/11/15:10" # move_directory_depth=0 move_timestamp_depth=4 -> "2024/06/11/15:00" # move_directory_depth=0 move_timestamp_depth=3 -> "2024/06/11" # move_directory_depth=0 move_timestamp_depth=2 -> "2024/06" # move_directory_depth=0 move_timestamp_depth=1 -> "2024" # move_directory_depth=0 move_timestamp_depth=0 -> "" # move_directory_depth=1 move_timestamp_depth=5 -> "4133/2024/06/11/15:10" # move_directory_depth=1 move_timestamp_depth=4 -> "4133/2024/06/11/15:00" # move_directory_depth=1 move_timestamp_depth=3 -> "4133/2024/06/11" # move_directory_depth=1 move_timestamp_depth=2 -> "4133/2024/06" # move_directory_depth=1 move_timestamp_depth=1 -> "4133/2024" # move_directory_depth=1 move_timestamp_depth=0 -> "4133" # move_directory_depth=2 move_timestamp_depth=5 -> "4133/Ping/2024/06/11/15:10" # move_directory_depth=2 move_timestamp_depth=4 -> "4133/Ping/2024/06/11/15:00" # move_directory_depth=2 move_timestamp_depth=3 -> "4133/Ping/2024/06/11" # move_directory_depth=2 move_timestamp_depth=2 -> "4133/Ping/2024/06" # move_directory_depth=2 move_timestamp_depth=1 -> "4133/Ping/2024" # move_directory_depth=2 move_timestamp_depth=0 -> "4133/Ping" move_directory_depth = 2 move_timestamp_depth = 3 # Interval for showing current importer status in output log (in s, minimum 5): status_interval = 60 # Interval for directory garbage collection (in s, minimum 10): gc_interval = 275 # Maximum age for unused, empty directories (in s, minimum 60): gc_max_age = 3600 # Custom table mappings (Reader:Table): # table = Ping:Ping # table = Traceroute:Traceroute # table = Jitter:Jitter