Get Event Database
Optional privileges -
Privileges | Description |
---|---|
GLOBAL_CONFIG_VIEW | Caller should have permission to this privilege to view entire configuration details, else limited details would be returned. |
OK
{
"admin_events_count": 2000,
"classify_events_as_new_for_days": 3,
"database_name": "eventdb",
"event_database_configured": true,
"port": 1443,
"query_timeout_seconds": 120,
"server_name": "eventdb.horizon.com",
"show_events_for_time": "THREE_MONTHS",
"table_prefix": "tab_",
"timing_profiler_data_longevity_days": 7,
"type": "SQL_SERVER",
"username": "administrator"
}
The number of events administrator can see in the admin console.
Events will be marked as new for a time based on the value.
Name of the database on the database server to use for storing events. Note that this database must exist on the server or the values cannot be saved.
Indicates if the event database has been configured or not.
Port number on the database server to which Horizon will send events.
Query execution timeout in seconds.
The server that hosts the database which will be used to store events.
Events will be shown in the Horizon Admin console for a time based on this value.
- ONE_WEEK: One week.
- TWO_WEEKS: Two weeks.
- THREE_WEEKS: Three weeks.
- ONE_MONTH: One month.
- TWO_MONTHS: Two months.
- THREE_MONTHS: Three months.
- SIX_MONTHS: Six months.
If present, all tables for this instance will start with this prefix. This allows multiple brokers to use the same events database without trampling on other broker data.
Timing Profiler data will be kept in database for a time based on the value. Timing Profiler Data will not be stored in Event DB.
The type of database to use for the event database.
- ORACLE: An Oracle database.
- SQL_SERVER: A SQL server database.
- POSTGRESQL: A PostgreSQL database.
Username to use for the connection to the event database.
User is not authenticated