Splunk's reference distributed architecture is normally described as having three basic components: the indexer (which parses and stores data), the search head (which handles search, reporting, and dashboards), and the forwarder (which collects and sends data). A fourth element, the deployment server, is often grouped with forwarder or license/cluster management rather than counted as a core data-path component, which is the main source of "three versus four" answers.
Why "three" is the standard answer and where the ambiguity begins
Splunk's own product documentation for years has used diagrams and descriptions organized around those three roles. The reason is functional rather than arbitrary: each role corresponds to a distinct stage of the data pipeline — collection, indexing/storage, and search/presentation. If you can name where data enters, where it is stored and normalized, and where users query it, you have described every Splunk deployment, from the smallest single-server install to a large distributed cluster, because the small install simply runs all three roles on one machine.
The confusion arises because "component" is used loosely in training material and exam prep. Some lists add a deployment server (used to push configuration bundles and apps to forwarders and, sometimes, to search heads), a license manager, a cluster master (now commonly called the cluster manager), and monitoring console components. These are management-plane pieces, not the three data-plane roles. A useful distinction: the three core components handle the flow of events; the others govern configuration, licensing, index replication, or health reporting.
Single-instance deployments
In a standalone installation, one Splunk Enterprise instance performs all three roles. Beginners sometimes conclude there is "one component" because they see one process. That is a deployment topology, not the component model. The roles are still conceptually present: the same binary receives data through inputs, writes buckets to an index, and runs searches against them. Exams and documentation questions about "components" almost always want the role model, not an instance count.
Universal forwarders versus heavy forwarders
The forwarder category splits into two forms with different capabilities, and this is worth keeping straight:
A universal forwarder (UF) is a lightweight agent that collects data (files, Windows event logs, network inputs, scripted inputs) and forwards it, applying minimal processing. It does not run the full Splunk search pipeline or Python-based modular inputs in the same way, and it does not index. A heavy forwarder (HF) is a full Splunk Enterprise instance configured primarily to forward. It can parse and route data, run modular inputs, filter events before transmission, and break a data stream into multiple destinations.
Both are forwarders, so the count of basic components does not change; the split matters when sizing, licensing (a UF consumes no Splunk license on the forwarding side because indexing consumes the license), and where parsing happens. A common architecture is universal forwarders to a small tier of heavy forwarders, then to indexers — still three roles.
What each component actually does
Indexer
The indexer receives data (directly or from forwarders), parses it into events, applies timestamp recognition and optional transformations, and writes it to indexed buckets on disk. It also runs the indexer-side portion of searches: it retrieves matching events and returns partial results.
An indexer's storage is organized into buckets that move through lifecycle stages: hot (actively written), warm (still searchable, no longer written), cold (searchable, typically on slower or cheaper storage), and frozen/archived (removed from active search, optionally archived). Retention and rollover are governed by indexes.conf settings such as frozenTimePeriodInSecs and size limits. This is why "the indexer stores data" is an oversimplification: it stores time-bounded buckets that migrate.
In a clustered indexer tier, replication and search factor settings determine how many copies of each bucket exist and how many must be searchable, managed by a cluster manager. Replication factor addresses availability; search factor addresses search performance and resilience. These are not extra "basic components" in the three-role sense, but they are essential to a production clustered architecture.
Search head
The search head is where users interact: it runs the search pipeline — the part of a search that happens after indexers return events, including transforming commands, statistics, joins, lookups, and formatting. It serves the web interface, manages knowledge objects (field extractions, tags, event types, lookups, macros), schedules saved searches and alerts, and coordinates distributed search by dispatching to indexers and merging results.
Search heads can be pooled behind a load balancer for scale and availability. Search head clustering adds replication of configuration and knowledge objects across members, plus a captain (an elected member) that coordinates. This is separate from indexer clustering and can exist with or without it. A frequent design error is to cluster indexers and forget that search head configuration will drift unless search head clustering or configuration management is used.
Forwarder
The forwarder collects data and transmits it, typically over the Splunk-to-Splunk protocol on port 9997. Collection methods include file and directory monitoring (monitor inputs), network inputs (TCP/UDP syslog), Windows event log channels, scripted inputs, and modular inputs packaged in apps. Forwarders can load-balance across multiple indexers and buffer data locally when the destination is unreachable; the size and behavior of that buffer are configured on the forwarder.
Forwarders also participate in the deployment model: a deployment server distributes apps and configuration to forwarder clients, and forwarders can be organized into server classes for targeted distribution. None of that makes the deployment server a core data component; it is a management service.
A compact comparison
| Role | Primary job | Consumes license? | Typical scale pattern |
|---|---|---|---|
| Forwarder | Collect and transmit data | No on the forwarding side | Many small agents; UFs at the edge |
| Indexer | Parse, store, and serve indexed data | Yes, on indexed volume | Clustered for replication and throughput |
| Search head | Run searches, knowledge objects, alerts, UI | Depends on search-time volume in some license models | Pooled or clustered for concurrency and availability |
The license point deserves a precise caveat: Splunk licensing has historically been based on daily indexed volume, not on data received by forwarders. Which component "consumes" the license therefore depends on where indexing occurs, which is normally the indexer tier. Licensing terms and models vary by contract and product edition, so exact entitlement rules must be checked against your own license agreement rather than assumed.
Common miscounts and why they happen
Counting the deployment server
A four-item list — forwarder, indexer, search head, deployment server — appears in some study guides. It is defensible as a list of commonly deployed server roles but not as the basic data-path architecture. The deployment server does not sit in the flow of events; if it fails, data still flows and searches still run (though configuration updates stop). That test — does removing it break the data path? — cleanly separates core components from supporting services.
Counting cluster managers and license managers
Similarly, a cluster manager coordinates indexer replication, and a license manager meters usage. Both are important in production and both are often separate instances for resilience. They are management-plane functions. A useful phrasing for documentation or interview answers: "three core components plus supporting management services such as the deployment server, cluster manager, and license manager."
The "search head is optional" misconception
In a minimal forwarder-to-third-party or forwarder-to-indexer-only pipeline, no one may search — but that is a configuration choice, not an architecture without a search role. Any deployment where humans or alerts consume results has a search function somewhere, even if it runs on the same host as an indexer.
Practical example: a small production topology
A typical mid-size deployment looks like this: universal forwarders on application servers and domain controllers send to two heavy forwarders; the heavy forwarders filter and route to a three-node indexer cluster (replication factor 2, search factor 2) coordinated by a cluster manager; two search heads sit behind a load balancer with search head clustering enabled; one deployment server distributes forwarder apps. Count the basic components: forwarders, indexers, search heads — three. Everything else is supporting infrastructure.
An even smaller example: one Splunk Enterprise instance on a single server collects from a handful of UFs, indexes, and serves searches. Three roles, one host.
Related terminology worth knowing
Splunk-to-Splunk (S2S) protocol: the default transport from forwarders to indexers, port 9997. Distributed search: the search head's dispatch of search jobs to indexers and the merge of results. Knowledge objects: field extractions, event types, tags, lookups, and macros, mostly managed on search heads. Buckets and retention: hot/warm/cold/frozen lifecycle controlling storage and searchability. SmartStore: remote object storage for indexer data; it changes where buckets live but not the three-role model. Splunk Cloud Platform: the vendor-managed service where these roles are abstracted; the component concepts still inform sizing, ingest, and search behavior, but customers do not place or manage indexers directly.
Version-specific details — exact configuration file names, default ports, cluster settings, and interface labels — change across Splunk Enterprise releases and between Splunk Enterprise and Splunk Cloud. The three-component conceptual model has been stable, but for implementation specifics consult the documentation matching your installed version.
FAQ
Is the answer three or four? Three core components — forwarder, indexer, search head. Four is a common expanded list that adds a management service such as the deployment server.
Do I need all three in every deployment? Conceptually yes; physically, one instance can host all three roles. Production deployments usually separate them for scale and resilience.
Is the deployment server a basic component? No, it is a configuration-distribution service on the management plane. It is often essential in practice, especially with many forwarders, but the data path works without it.
Does a heavy forwarder change the count? No. It is a forwarder variant with parsing and routing capability.
Where does licensing attach? Historically to daily indexed volume, which is measured at indexing. Confirm the terms in your own license agreement, because models and editions differ.