When I am Configuring the script based collection for G Suite Alert Center if i test this command "python -m sumogsuitealertscollector.main" I get this message with errors :
root@vagrant-yorch:~# python -m sumogsuitealertscollector.main
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
mod_name, _Error)
File "/usr/lib/python2.7/runpy.py", line 119, in _get_module_details
code = loader.get_code(mod_name)
File "/usr/lib/python2.7/pkgutil.py", line 281, in get_code
self.code = compile(source, self.filename, 'exec')
File "/usr/local/lib/python2.7/dist-packages/sumogsuitealertscollector/main.py", line 73
'filter': f'''create_time >= \"{convert_epoch_to_utc_date(start_time_epoch, self.DATE_FORMAT)}\" AND create_time <= \"{convert_epoch_to_utc_date(end_time_epoch, self.DATE_FORMAT)}\" AND type = \"{alert_type}\"''',
^
SyntaxError: invalid syntax
root@vagrant-yorch:~#
When I am Configuring the script based collection for G Suite Alert Center if i test this command "python -m sumogsuitealertscollector.main" I get this message with errors :