Minimal server configuration

Creating a minimal configuration

LOGIQ server needs a configuration file that describes how to handle incoming data and where to store it. See below for a minimal configuration to get started. In the below example we are connecting LOGIQ to ingest data into an AWS backed S3 compatible store. The data stored will be partitioned by day.
NOTE: Change the below config to work with your environment. If you are using AWS deployment using CloudFormation, the config file is automatically generated during the install. If you are using a Kubernetes cluster to run LOGIQ, the configuration is passed as a config map.
1
options:
2
ca: "/etc/ssl/logiq/certs/logIQ.crt"
3
cert: "/etc/ssl/logiq/certs/logiq-server.crt"
4
key: "/etc/ssl/logiq/certs/logiq-server.key"
5
host: 0.0.0.0
6
credentials:
7
-
8
name: aws_logging_bucket
9
s3:
10
secret_key: logiq_secret
11
access_key: logiq_access
12
partitions:
13
-
14
name: p_by_day
15
fields:
16
- year
17
- month
18
- day
19
destinations:
20
-
21
name: default_log_store
22
partition: p_by_day
23
s3:
24
bucket: logiq-bucket-1fbc-1
25
region: us-east-1
26
credential: aws_logging_bucket
27
rules:
28
-
29
destination: default_log_store
Copied!
The above configuration defines a simple rule that all incoming data needs to go to the destination default_log_store.
See the section on LOGIQ server configuration on additional configuration options.
Last modified 1yr ago
Export as PDF
Copy link