Federated search performance
Performance considerations and optimization tips for a federated search deployment.
These performance considerations and optimization tips apply to a federated search deployment.
Search performance
- Federated searches are typically slower than local searches.
- Network latency affects performance.
- Use
statsand other aggregations on the remote side when possible.
Optimization tips
-
Apply index and time filters early to reduce data transfer:
CODEindex=federated:r_audit earliest=-1h | stats count by sourcetype -
Use streaming commands that run on the remote side:
CODEindex=federated:r_audit | stats count by host | sort -count -
Avoid commands that don't work well with federated search:
transactionruns locally.joincan be expensive.appendwith multiple federated sources.
Connection pooling
Splunk maintains connection pools to remote providers. The default pool size is 5 connections per provider. Configure the pool size in limits.conf if needed:
[federated_search]
max_concurrent_searches_per_provider = 5