Update Event Database
All the listed privileges are required -
Privileges | Description |
---|---|
GLOBAL_CONFIG_MANAGEMENT | Caller should have permission to this privilege, to perform this operation. |
{
"admin_events_count": 2000,
"classify_events_as_new_for_days": 3,
"database_name": "eventdb",
"password": [
"<password>"
],
"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. It has a default value of 2000.
Events will be marked as new for a time based on the value. Must be between 1 and 3 days.
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.
Password to use for the event database connection.
Port number on the database server to which Horizon will send events.
Query execution timeout in seconds. It has a default value of 120 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. It has a default value of 3 months.
- 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. This property must start with a letter, may only contain letters, numbers, and the characters @, $, #, and _, and may not be longer than 6 characters.
Timing Profiler data will be kept in database for a time based on the value. Must be between 1 and 7 days. Timing Profiler Data will not be stored in Event DB. It has a default value of 7.
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.
No Content
Bad Request
User is not authenticated
Access to the resource is forbidden