9.8.3. Elasticsearch configuration fields
Use the following configuration fields to integrate Red Hat Quay with an external Elasticsearch service. This enables storing and querying structured data such as action logs, repository events, and other operational records outside of the internal database.
| Field | Type | Description |
|---|---|---|
| LOGS_MODEL_CONFIG.elasticsearch_config.access_key | String |
Elasticsearch user (or IAM key for AWS ES). |
| .elasticsearch_config.host | String |
Elasticsearch cluster endpoint. |
| .elasticsearch_config.index_prefix | String |
Prefix for Elasticsearch indexes. |
| .elasticsearch_config.index_settings | Object | Index settings for Elasticsearch. |
| LOGS_MODEL_CONFIG.elasticsearch_config.use_ssl | Boolean |
Whether to use SSL for Elasticsearch. |
| .elasticsearch_config.secret_key | String |
Elasticsearch password (or IAM secret for AWS ES). |
| .elasticsearch_config.aws_region | String |
AWS region. |
| .elasticsearch_config.port | Number |
Port of the Elasticsearch cluster. |
| .kinesis_stream_config.aws_secret_key | String |
AWS secret key. |
| .kinesis_stream_config.stream_name | String |
AWS Kinesis stream to send action logs to. |
| .kinesis_stream_config.aws_access_key | String |
AWS access key. |
| .kinesis_stream_config.retries | Number |
Max number of retry attempts for a single request. |
| .kinesis_stream_config.read_timeout | Number |
Read timeout in seconds. |
| .kinesis_stream_config.max_pool_connections | Number |
Max number of connections in the pool. |
| .kinesis_stream_config.aws_region | String |
AWS region. |
| .kinesis_stream_config.connect_timeout | Number |
Connection timeout in seconds. |
| .producer | String |
Logs producer type. |
| .kafka_config.topic | String |
Kafka topic used to publish log entries. |
| .kafka_config.bootstrap_servers | Array | List of Kafka brokers used to bootstrap the client. |
| .kafka_config.max_block_seconds | Number |
Max seconds to block during a |
Elasticsearch example YAML
# ...
FEATURE_LOG_EXPORT: true
LOGS_MODEL: elasticsearch
LOGS_MODEL_CONFIG:
producer: elasticsearch
elasticsearch_config:
access_key: elastic_user
secret_key: elastic_password
host: es.example.com
port: 9200
use_ssl: true
aws_region: us-east-1
index_prefix: logentry_
index_settings:
number_of_shards: 3
number_of_replicas: 1
ALLOW_WITHOUT_STRICT_LOGGING: true
# ...
9.8.3.1. Splunk configuration fields 링크 복사링크가 클립보드에 복사되었습니다!
Use the following fields to configure Red Hat Quay to export action logs to a Splunk endpoint. This configuration allows audit and event logs to be sent to an external Splunk server for centralized analysis, search, and long-term storage.
| Field | Type | Description |
|---|---|---|
| producer | String |
Must be set to |
| splunk_config | Object | Logs model configuration for Splunk action logs or Splunk cluster configuration. |
| .host | String | The Splunk cluster endpoint. |
| .port | Integer | The port number for the Splunk management cluster endpoint. |
| .bearer_token | String | The bearer token used for authentication with Splunk. |
| .verify_ssl | Boolean |
Enable ( |
| .index_prefix | String | The index prefix used by Splunk. |
| .ssl_ca_path | String |
The relative container path to a |
Splunk configuration example YAML
# ...
LOGS_MODEL: splunk
LOGS_MODEL_CONFIG:
producer: splunk
splunk_config:
host: http://<user_name>.remote.csb
port: 8089
bearer_token: <bearer_token>
url_scheme: <http/https>
verify_ssl: False
index_prefix: <splunk_log_index_name>
ssl_ca_path: <location_to_ssl-ca-cert.pem>
# ...
9.8.3.1.1. Splunk HEC configuration fields 링크 복사링크가 클립보드에 복사되었습니다!
The following fields are available when configuring Splunk HTTP Event Collector (HEC) for Red Hat Quay.
| Field | Type | Description |
|---|---|---|
| producer | String |
Must be set to |
| splunk_hec_config | Object | Logs model configuration for Splunk HTTP Event Collector action logs. |
| .host | String | Splunk cluster endpoint. |
| .port | Integer | Splunk management cluster endpoint port. |
| .hec_token | String | HEC token used for authenticating with Splunk. |
| .url_scheme | String |
URL scheme to access the Splunk service. Use |
| .verify_ssl | Boolean |
Enable ( |
| .index | String | The Splunk index to use for log storage. |
| .splunk_host | String | The hostname to assign to the logged event. |
| .splunk_sourcetype | String |
The Splunk |
Splunk HEC example YAML
# ...
LOGS_MODEL: splunk
LOGS_MODEL_CONFIG:
producer: splunk_hec
splunk_hec_config:
host: prd-p-aaaaaq.splunkcloud.com
port: 8088
hec_token: 12345678-1234-1234-1234-1234567890ab
url_scheme: https
verify_ssl: False
index: quay
splunk_host: quay-dev
splunk_sourcetype: quay_logs
# ...