imperva / incapsula-logs-downloader

A Python script for downloading log files from Incapsula
MIT License
30 stars 35 forks source link

facing issues while running the .py script #1

Closed vikys219 closed 5 years ago

vikys219 commented 5 years ago

Traceback (most recent call last): File "LogsDownloader.py", line 618, in logsDownloader = LogsDownloader(path_to_config_folder, path_to_system_logs_folder, system_logs_level) File "LogsDownloader.py", line 110, in init os.makedirs(self.config.PROCESS_DIR) File "/usr/lib64/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 2] No such file or directory: ''

mschoen79 commented 5 years ago

I am having the same issue.. any updates?

OmerLitov commented 5 years ago

Hi, the PROCESS_DIR is defined by you in the Settings.Config file. did you changed the default value there? to what value?

indiechixor commented 5 years ago

@mattschoen

I am having the same issue.. any updates?

The Settings.Config given by Incapsula leave the PROCESS_DIR field blank. I used what they recommend, "/tmp/processed/" and that worked.