Generic SQL
Use the Generic SQL integration to run SQL queries on the following databases: MySQL, PostgreSQL, Microsoft SQL Server, Oracle, Teradata and Trino.
Database · GenericSQL
Configuration parameters
dialect— SQL DB (required)host— Database host (required)port— Portcredentials— Username (required)fetch_parameters— Fetch byquery— Fetch events querycolumn_name— Fetch Columnid_column— ID Column name - in case of fetching by 'ID and timestamp'isFetch— Fetch incidentsincident_name— Incident Namedbname— Database Nameconnect_parameters— Connection Arguments (ex: arg1=val1&arg2=val2)max_fetch— Fetch Limit (Default / Max - 50, Recommended less than 50)first_fetch— First fetch timestamp or First fetch IDssl_connect— Use an SSL connectionuse_pool— Use Connection Poolinginsecure— Trust any certificate (not secure)use_ldap— Use LDAP (Teradata only)pool_ttl— Connection Pool Time to Live (seconds)incidentType— Incident type
Commands (3)
-
pgsql-queryDeprecatedRuns a SQL query. Deprecated. Use the generic sql-command instead.
-
queryDeprecatedRuns a SQL query. Deprecated. Use the generic sql-command instead.
-
sql-commandRunning a sql query.