Introducing Splunk Federated Search

Rapid digital transformation partnered with increased cloud adoption have resulted in organizations generating unprecedentedly large volumes of data. This data is stored in disparate data repositories due to organizational boundaries, data protection, and privacy laws (e.g. GDPR). Additionally, it is stored across environment types with some kept in the cloud and often historical data and other sensitive data types are kept in on-premise environments contributing to more data silos. So, how can organizations leverage data residing in these disparate data sources and glean insights from it? We’re excited to share that the Splunk Federated Search is now generally available starting in Splunk Cloud Platform 8.1.2103 and Splunk Enterprise 8.2.

Federated search provides the capability to execute a unified search across multiple Splunk environments (including Splunk Cloud and On-premise) providing a true federated search experience.

This includes the ability to:

Federated search supports the following different configurations:

Splunk cloud to cloud
Available with Splunk Cloud Platform 8.1.2103 and above
Splunk on-premise to cloud
Available with Splunk Enterprise 8.2 and Splunk Cloud Platform 8.2.2104
Splunk on-premise to on-premise
Available with Splunk Enterprise 8.2

More importantly, with Splunk Enterprise 8.2, you can now search between your on-premise environment (SH) and Splunk cloud environment leveraging federated search. Federated search is a new capability that is distinct from hybrid search. Federated search addresses the limitations of hybrid search, allows you to run scheduled searches, enables you to search from on-premise search head (SH) to multiple Splunk cloud environments and better management of security permissions across environments with RBAC.

One of the frequently asked questions, how is this different from the legacy Data Fabric Search (DFS)? While the use cases are identical, federated search uses a different technology designed for Cloud experiences and seamless integration and doesn’t require the additional Spark infrastructure. Additionally, DFS is no longer available for purchase as of May 2020 and there is no support after October 2021.

Federated Search Can Be Configured and Run in Four Simple Steps

Before we go into details, let’s quickly define the key terms:

The below 4 steps can configured via a self-service UI:

  1. Service account creation on RSH
  2. Establish connection to Splunk remote deployment
  3. Setup Federated Index
  4. Run a Federated Search

The Splunk environments must be running a compatible Splunk version (see above supported configuration table) that supports federated search.

Step 1: Service Account Creation on RSH

Login to the Splunk SH (RSH) of remote deployment and create a service account through the UI.

This service account will be leveraged for communication between the FSH and RSH.

Access permissions to data can be managed at service account level.

Step 2: Establish Connection to Splunk Remote Deployment

Login to the Splunk SH (FSH) and then create a connection through the UI.

This information on FSH helps make the connection to the remote Splunk environment.

Step 3: Federated Index Creation

Login to the Splunk SH (FSH) and create a federated index on, that maps to a index or a saved search on the remote Splunk deployment.

To search federated indexes from the FSH, the search SPL must incorporate an explicit keyword federated: to run searches on the remote deployment as shown in below example.

Let’s take a quick look at a simple example scenario of searching between an On-premise Splunk environment and a Splunk Cloud environment. Let’s say the On-premise index name is indexlogs and Splunk Cloud index name is indexcloudlogs, now you want to combine results from these two environments to find the average of the values in the size field for each distinct value in the host field and you are searching from On-premise SH, all you need to do is as below

| union
  [search index=federated:indexcloudlogs]
  [search index=indexlogs]
| stats avg(size) BY host

That’s it folks, it’s as simple as the above four quick steps to federate your searches. Please try it out today and leave any feedback or suggestions on "Search Federation" on Splunk Ideas.

For an overview, listen to the Federated Search Tech Talk and for more detailed information, please refer to the Splunk Federated Search documentation.

Related Articles

Announcing Splunk Enterprise 10.2 & Splunk Cloud Platform 10.2 – Next Generation Querying & Analytics
Platform
5 Minute Read

Announcing Splunk Enterprise 10.2 & Splunk Cloud Platform 10.2 – Next Generation Querying & Analytics

We're thrilled to unveil Splunk Enterprise 10.2 and Splunk Cloud Platform 10.2, raising the bar for unified data access, security, and actionable insights.
Introducing SPL2: The Next-Generation Search & Data Preparation Language for Splunk
Platform
5 Minute Read

Introducing SPL2: The Next-Generation Search & Data Preparation Language for Splunk

Announcing the worldwide availability of Search Processing Language version 2 (SPL2), the next evolution of our powerful SPL language for data search and preparation, now in Splunk Enterprise and Splunk Cloud Platform.
Announcing the General Availability of Splunk POD: Unlock the Power of Your Data with Ease
Platform
2 Minute Read

Announcing the General Availability of Splunk POD: Unlock the Power of Your Data with Ease

Splunk POD is designed to simplify your on-premises data analytics, so you can focus on what really matters: making smarter, faster decisions that drive your business forward.