FortiAnalyzer 7.4 Architecture Guide
FortiAnalyzer 7.4 Architecture Guide
Architecture Guide
V ersion 7.4
FORTINET DOCUMENT LIBRARY
https://docs.fortinet.com
FORTINET BLOG
https://blog.fortinet.com
NSE INSTITUTE
https://training.fortinet.com
FORTIGUARD CENTER
https://www.fortiguard.com
FEEDBACK
Email: [email protected]
Change Log 4
Introduction 5
Executive summary 5
Intended audience 5
About this guide 5
Sizing 6
Log rate 6
Storage requirements 7
Conventional FortiAnalyzer 7
FortiAnalyzer BigData 9
Design considerations 10
Architectures 11
Single tier standalone 11
Single tier high availability 12
Multiple tiers high availability 13
Multiple tiers FortiAnalyzer fabric 13
FortiAnalyzer BigData 14
Appendix A - Documentation references 15
Introduction
Executive summary
This document aims at providing design guidelines for stable and efficient FortiAnalyzer and FortiAnalyzer BigData
deployments.
Starting from sizing key performance indicators, this document helps you to build an architecture on solid foundations
that allows you to scale your deployment as your needs evolve over time.
Please refer to the product datasheets for further information about FortiAnalyzer and FortiAnalyzer BigData:
l FortiAnalyzer
l FortiAnalyzer BigData
Intended audience
This guide has primarily been created for a technical audience, including system architects and design engineers who
want to deploy FortiAnalyzer on solid foundations.
It assumes the reader is familiar with the basic concepts of networking, security, and FortiAnalyzer key concepts. For
more information about FortiAnalyzer key concepts, see the FortiAnalyzer Administration Guide.
This guide presents one of many possible ways to design the solution from a log rate (LPS) and storage requirements
standpoint. It may omit specific steps, such as log transport, troubleshooting/health assessments, or minimum system
requirements where readers must make design decisions to further configure their devices. It is recommended that
readers also review supplementary material in product administration guides, example guides, cookbooks, release
notes, and other documents where appropriate on the Fortinet Document Library.
The reader is required to have knowledge of corporate policies on log retention and analysis because they will be used to
drive the sizing exercise.
Sizing
Sizing is a paramount step of any design exercise. Two key metrics are evaluated:
l Log rate on page 6
l Storage requirements on page 7
Log rate
Logs per second (LPS): Average number of logs per second generated in a 24-hour period that a FortiAnalyzer unit will
have to sustain.
The FortiAnalyzer datasheet and FortiAnalyzer BigData datasheet provide the maximum constant log message rate that
each FortiAnalyzer platform can maintain for minimum 48 hours without system performance degradation.
For existing deployments, LPS can be obtained by querying devices already deployed. For new deployments
(greenfield), LPS can be estimated from either sessions/sec rate or number of users per site as described below.
Generally, the amount of traffic logs per second is equal to the amount of sessions per second.
If additional security features are enabled, the logs generated from each feature must be added to the total according to
the table below:
Antivirus 5%
IPS 5%
DNS 5%
Example:
Site A generates 1500 sessions/sec, and it has Antivirus, IPS, and Application Control features enabled.
Traffic log/sec = Sessions/sec
Estimated LPS:
l Traffic (1500) + Antivirus% (75) + IPS% (75) + Application Control% (300) = Total logs/sec (1950)
Antivirus 5%
IPS 5%
DNS 5%
Example:
Site A has 100 users in total, and 50% are active per day. The following security features are enabled: Antivirus, Web
Filtering, and DNS.
Estimated % log per user:
l Traffic log (0.66) + Antivirus% (0.033) + Web Filtering% (0.132) + DNS% (0.033) = 0.858
Estimated LPS:
l Total users (100) * % active users (0.5) * Estimated % log per user (0.858) = 42.9
Important notes
l LPS estimated with either sessions/sec or number of users is a gross estimate in order to
choose the most accurate platform for your needs. Real numbers may differ; therefore,
trends should be monitored when in production.
l Specific functionality, such as SD-WAN, can increase the overall log rate by 5-10% based
on the logging and monitoring configuration in place.
l A projected log volume in one to three years must be taken into account.
Storage requirements
Storage requirements: The total storage needed is directly related to the previously estimated LPS and to corporate
policies on log retention and analysis.
Conventional FortiAnalyzer
Format Size
*By default, analytic logs older than 7 days are compressed. This makes them slower to retrieve, read, and display, but
much more storage efficient.
The following CLI command can be used to specify after how many days the analytic logs are compressed:
#config system sql
set compress-table-min-age <days>
end
The estimated storage requirement is the sum of the total archive log size and total analytic log size:
l Total storage requirement = archive log size + (analytic compressed log size + analytic uncompressed log size)
To determine the total log sizes, you can use the following formulas:
l Archive log size = Log Rate * Archive Log size * 86400 seconds * number of days
l Analytic compressed log size = Log Rate * Analytic compressed size * 86400 seconds * Analytic days compressed
l Analytic uncompressed log size = Log Rate * Analytic uncompressed size * 86400 seconds * Analytic days
uncompressed
Example:
Log rate = 1500 logs/sec
Desired archive period = 365 days (1 year)
Desired analytic period = 90 days (3 months)
1. Estimate the total archive size:
l Archive size per day = 1500 logs/sec * 80 bytes * 86400 seconds = 10.37 GB
l Total archive for 1 year = 10.37 GB * 365 days = 3.78 TB
2. Estimate the analytics size compressed (considering 83 days compressed):
l Analytics compressed per day = 1500 logs/sec * 150 bytes * 86400 seconds = 19.44 GB
l Analytics compressed for 83 days = 19.44 GB * 83 days = 1.61 TB
3. Estimate the analytics size uncompressed (considering the default 7 days analytics compression):
l Analytics uncompressed per day = 1500 logs/sec *600 bytes * 86400 seconds = 77.76 GB
l Analytics uncompressed for 7 days = 77.76 * 7 days = 0.54 TB
4. Estimate the total analytics size (compressed and uncompressed):
l Total analytics for 3 months = Total analytics size uncompressed (1.61 TB) + Total analytics size compressed
(0.54 TB) = 2.15 TB
5. Estimate the total storage requirement:
l Total storage requirement = Total archive (3.78 TB) + Total analytics (2.15 TB) = 5.93 TB
Note: The calculation is executed using Gigabyte and Terabyte conversion rather than Gibibyte and Tebibyte.
FortiAnalyzer BigData
The concept of archive and analytic logs doesn't apply to FortiAnalyzer BigData. Logs are compressed, replicated, and
load-balanced across the hosts and available for immediate analytics.
The average log size on a FortiAnalyzer BigData is roughly 300 bytes post replication (x3) and compression.
Total storage requirements are obtained by multiplying the daily storage amount by the number of retention days needed
using the below formula:
l Daily storage amount = Log Rate * 300 bytes * 86400
l Total storage requirements = daily storage amount * days
Design considerations
FortiAnalyzer and FortiAnalyzer BigData are available in either appliance or virtual machine forms. The table below
indicates how key design pillars are represented:
Availability Built-in software and hardware high Built-in software high availability and data
availability and data resiliency. resiliency.
Scalability Scaling out with the addition of more chassis. Scaling up and scaling out.
Security Integrity of all elements is provided by the Dependent on the virtual infrastructure.
proprietary hardware architecture.
The FortiAnalyzer datasheet and FortiAnalyzer BigData datasheet provide key specifications in terms of sustained log
rate/ingestion rate for both physical appliances and virtual machines.
Architectures
Description
Limitations
Use case
SOHO and SMB with a limited number of managed devices and logs per second (LPS) where redundancy and
scalability across multiple devices is not a requirement.
Description
Limitations
Use case
Preferred architecture for SMB/SME with a limited number of regional sites that are looking for real-time logs and data
redundancy.
Description
Limitations
Use case
Large international companies with regional sites. The collector tier is regionally deployed to establish an OFTP
connection to each managed device and to consolidate logs regionally before forwarding them to the analyzer tier. If the
connectivity between the collector and analyzer tier is unavailable, logs can be buffered at the collector level.
Description
l Centralized visibility of managed devices, log view, incidents and events from a FortiAnalyzer supervisor.
l Single or multiple tiers deployment are supported (for example, Collector-Analyzer).
Limitations
Use case
A suitable architecture for multinational customers with subsidiaries worldwide. The key differentiator compared to the to
the Multiple tiers high availability on page 13 architecture is that the regional SOC team can also benefit from a fully
functional analyzer and not only have a historical log view available as on a collector. The collectors can be used to build
points of presence in the different regions and forward the information to the central analyzer in the company's head
office.
FortiAnalyzer BigData
Description
Use case
A large-scale data center and high-bandwidth deployments with high log ingestion needs, and high availability and data
resiliency requirements.
FortiAnalyzer
FortiAnalyzer BigData
Copyright© 2023 Fortinet, Inc. All rights reserved. Fortinet®, FortiGate®, FortiCare® and FortiGuard®, and certain other marks are registered trademarks of Fortinet, Inc., and other Fortinet names herein
may also be registered and/or common law trademarks of Fortinet. All other product or company names may be trademarks of their respective owners. Performance and other metrics contained herein were
attained in internal lab tests under ideal conditions, and actual performance and other results may vary. Network variables, different network environments and other conditions may affect performance
results. Nothing herein represents any binding commitment by Fortinet, and Fortinet disclaims all warranties, whether express or implied, except to the extent Fortinet enters a binding written contract,
signed by Fortinet’s General Counsel, with a purchaser that expressly warrants that the identified product will perform according to certain expressly-identified performance metrics and, in such event, only
the specific performance metrics expressly identified in such binding written contract shall be binding on Fortinet. For absolute clarity, any such warranty will be limited to performance in the same ideal
conditions as in Fortinet’s internal lab tests. Fortinet disclaims in full any covenants, representations, and guarantees pursuant hereto, whether express or implied. Fortinet reserves the right to change,
modify, transfer, or otherwise revise this publication without notice, and the most current version of the publication shall be applicable.