FortiAnalyzer
FortiAnalyzer can receive logs and Windows host events directly from endpoints connected to EMS, and you can use FortiAnalyzer to analyze the logs and run reports.
aorozco
Staff
Staff
Article Id 192458
Description
When planning a FortiAnalyzer report, it is sometimes necessary to know what table columns we are going to be using in our SQL statement.

Solution
In order to query all columns from a table in POSTGRESQL (internal DB engine) you can try the following query as an example right in the command line:

exec sql-query-generic "select column_name, data_type from INFORMATION_SCHEMA.COLUMNS where table_name = 'table_ref';"

Contributors