Overall

⭐ EPS = Event Per Second

Requirement

Recommendation

EPS

ES Configuration

Hardware per node (vCPU, RAM)

Elastic JVM RAM

Shards

Replica

Up to 1K - without Replica

All-in-one

(8,16GB)

8GB

5

0

Up to 1K - with Replica

3 node cluster

(8,16GB)

8GB

5

1

1K-5K - with Replica

3 node cluster

(8,64GB)

30GB

5

1

5K-10K - with Replica

Coordinating and Master Node

(8,32GB)

16GB




3 Data Nodes

(8,64GB)

30GB

5

1

10K-15K - with Replica

Coordinating Node

(16,32GB)

16GB




Master Node

(8,16GB)

8GB




3 Data Nodes

(16,64GB)

30GB

10

1

...

35K-45K - with Replica

Coordinating Node

(16,64GB)

30GB




Master Node

(8,16GB)

8GB




9 Data Nodes

(16,64GB)

30GB

25

1

Add 5K EPS - with Replica

Add 1 Data Node

(16,64GB)

30GB

Add 3 Shards

1

https://docs.fortinet.com/document/fortisiem/6.1.0/sizing-guide/307212/fortisiem-sizing-information

Storage per Day

Suppose

  • R: Number of Replica (at least 1 is recommended)

  • E: EPS

  • D: Retention (days) in Hot nodes

Data per day = E * #seconds in a day (86400) * 500 Bytes * (R +1)

Storage per day = 1.25 * Data per day

Recommended Elasticsearch Configuration

  • Replica – at least 1

  • Master, Coordinator Only nodes and Data nodes on different machines

  • 3 Master nodes – each with 8 vCPU, 16 GB RAM

  • At least 2 Coordinator Only nodes – each with 16 vCPU, 32 GB RAM. Two Coordinator Only nodes are chosen for failover. The exact number of Coordinator Only nodes depends on the EPS. See below for details.

  • At least 3 Hot Data nodes – each with 32 vCPU, 64GB RAM and SSD disks with at least 200 Gb/s I/O throughput. The exact number of Hot Data nodes depends on the EPS and retention policy (see below). (Memory to Disk Ratio = 1:30)

  • If you decide to deploy Warm nodes, deploy at least 3 Warm Data nodes – each with 32 vCPU, 64GB RAM and disks with at least 100 Gb/s I/O throughput. The exact number of Warm Data nodes depends on retention policy (see below). (memory to disk ratio = 1:160)

  • If you decide to deploy Frozen nodes, deploy at least 3 Frozen Data nodes – each with 16 vCPU, 64GB RAM and around 100 Gb/s I/O throughput. The exact number of Frozen Data nodes depends on retention policy

Keep num of shards under 15K, 샤드 개수는 15K 이하로 유지할 것

  • In Elasticsearch 6.x, Fortinet has observed that Elasticsearch CLI performance degrades when the total number of shards in the cluster (including Hot and Warm nodes) is more than 15K. Newer versions may have a higher upper limit.

Dedicated master nodes in Amazon OpenSearch Service
https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-dedicatedmasternodes.html

Instance count

Master node RAM sizeMaximum supported shard count

Recommended minimum dedicated master instance type

1–10

8 GiB10K

m5.large.search or m6g.large.search

11–30

16 GiB30K

c5.2xlarge.search or c6g.2xlarge.search

31–7532 GiB40K

r5.xlarge.search or r6g.xlarge.search

76 – 12564 GiB75K

r5.2xlarge.search or r6g.2xlarge.search

126 – 200

128 GiB75K

r5.4xlarge.search or r6g.4xlarge.search

Best Practice in AWS, Elasticsearch
https://www.elastic.co/guide/en/elasticsearch/plugins/current/cloud-aws-best-practices.html

  • AWS EC2 EBS는 1~2노드로 작게 운용할 때 추천
  • 인스턴스 스토리지 사용 추천

30K EPS configuuration on AWS EC2

TypeAWS
Instance Type
Hardware SpecNum of InstancesNote
Collectorc4.xlarge4vCPU,
7 GB RAM


Workerc4.2xlarge8vCPU,
15 GB RAM
3logstash
Superm4.4xlarge16vCPU,
64 GB RAM,
CMDB Disk 10K IOPS
1kibana
Elastic Search
Master Node
c3.2xlarge
(구세대 인스턴스)
8vCPU,
16 GB RAM
8 GB JVM
2 x 80GB Instance Store
1
Elastic Search
Coordinating Node
m5.4xlarge16vCPU,
64 GB RAM
30 GB JVM
1
Elastic Search
Data Node
i3.4xlarge16vCPU,
122 GB RAM,
2 x 1900 NVMe SSD
30 GB JVM
5hot, warm
EPSStorage per DayRetention (Days)Hot Data Nodes
(32vCPU, 64GB RAM, SSD)



Node CountDisk Size
10K1TB742TB


30162TB
EPSStorage per DayRetention (Days)Warm Data Nodes
(32vCPU, 64GB RAM and ~100Gbps Disk I/O)  



Node CountDisk Size
10K1TB30310TB


60610TB


90910TB

https://docs.fortinet.com/document/fortisiem/6.1.0/sizing-guide/307212/fortisiem-sizing-information#Recommended_Sizing_for_Elasticsearch_Based_Deployment

https://fortinetweb.s3.amazonaws.com/docs.fortinet.com/v2/attachments/920e172f-a740-11ed-8e6d-fa163e15d75b/FortiSIEM-6.7.1-Sizing_Guide_-_Elasticsearch.pdf

https://docs.fortinet.com/document/fortisiem/7.0.1/sizing-guide-elasticsearch/965243/fortisiem-sizing-guide-elasticsearch

https://discuss.elastic.co/t/hardware-requirement-elk/200934

  • 레이블 없음