intelmq.bots.outputs.sql package¶
Submodules¶
intelmq.bots.outputs.sql.output module¶
SQL output bot.
See bot sql bot documentation for installation and configuration.
In case of errors, the bot tries to reconnect if the error is of operational and thus temporary. We don’t want to catch too much, like programming errors (missing fields etc).
- intelmq.bots.outputs.sql.output.BOT¶
alias of
SQLOutputBot
- class intelmq.bots.outputs.sql.output.SQLOutputBot(*args, **kwargs)¶
-
Send events to a PostgreSQL or SQLite database
- autocommit = True¶
- database = 'intelmq-events'¶
- engine = None¶
- fields = None¶
- host = 'localhost'¶
- init()¶
- jsondict_as_string: bool = True¶
- password = None¶
- port = '5432'¶
- prepare_values(values)¶
- process()¶
- sslmode = 'require'¶
- table = 'events'¶
- user = 'intelmq'¶
- intelmq.bots.outputs.sql.output.itemgetter_tuple(*items)¶