Closed looikh closed 3 years ago
Hi Aleixvaz,
Yes I managed to fix it by following the step using the link below.
https://xmlisse.wordpress.com/2020/07/23/retrieve-incapsula-logs-issues-and-tricks/
Thanks.
Best Regards
Looi KahHou
From: aleixvaz @.> Sent: Tuesday, 4 May, 2021 3:31 PM To: imperva/incapsula-logs-downloader @.> Cc: LooiKahHou (M.Tech MY) @.>; Author @.> Subject: Newsletter / Marketing: Re: [imperva/incapsula-logs-downloader] Could Not find Configuration file (#25)
Having the same issue... Didyou find a way to fix it?
Thanks,
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://clicktime.symantec.com/3GNhG7ZypRbxBukpnEGJNZr7Vc?u=https%3A%2F%2Fgithub.com%2Fimperva%2Fincapsula-logs-downloader%2Fissues%2F25%23issuecomment-831739813, or unsubscribehttps://clicktime.symantec.com/3UFLe5216iyM4AbinzNgAy7Vc?u=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FATLDHQSWALDR3ABZNV56G4DTL6PE5ANCNFSM4ZSRMCKA.
This inbound email has been scanned by the M.Tech Email Security Solution.
This outbound email has been scanned by the M.Tech Email Security Solution.
Hi, guys. just want to ask for your help... I am getting this error when I tried to run the script
python3.6 LogsDownloader.py -c /splunk/incapsula/config/ -l /splunk/incapsula/logs/ 2021-03-17 20:27:49,574 ERROR Exception while getting LogsDownloader config file - Could Not find Configuration file - Traceback (most recent call last): File "/usr/lib64/python3.6/configparser.py", line 789, in get value = d[option] File "/usr/lib64/python3.6/collections/init.py", line 883, in getitem return self.missing(key) # support subclasses that define missing File "/usr/lib64/python3.6/collections/init.py", line 875, in missing raise KeyError(key) KeyError: 'syslog_proto'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "LogsDownloader.py", line 98, in init self.config = self.config_reader.read() File "LogsDownloader.py", line 549, in read config.SYSLOG_PROTO = os.environ.get('IMPERVA_SYSLOG_PROTO', config_parser.get('SETTINGS','SYSLOG_PROTO')) File "/usr/lib64/python3.6/configparser.py", line 792, in get raise NoOptionError(option, section) configparser.NoOptionError: No option 'syslog_proto' in section: 'SETTINGS'
Could Not find Configuration file