Area: UI Issues
Sub-Area: Navigate Panel / Browse Sidebar Platform Visibility
Applies to: OSS + Cloud
Issue
A data platform exists in DataHub and you can find its assets in search, but it has no entry in the Navigate sidebar on the search page. The platforms that do show are the ones with the most assets. The missing platform has fewer assets than the others.
On older versions, the platform stays hidden even after you apply filters (for example an environment filter) that narrow the results down to a few platforms that clearly include it.
You Might Be Asking
- Why does a platform show up in search but not in the Navigate sidebar?
- Why does filtering by environment still not show the platform in the Navigate sidebar?
- Why does a platform with valid browse paths still not show in the Navigate sidebar?
- How many platforms can the Navigate sidebar show, and how do I raise that number?
Cause
The Navigate sidebar builds its platform list from a search aggregation on the platform field. It does not read browse paths for this list. The aggregation returns only the top N platforms, ranked by how many assets match. Platforms below that cutoff are not returned, so the sidebar can't show them.
N is the smaller of two numbers:
- The number of values the UI asks for. The UI asks for 100 (
MAX_AGGREGATION_VALUESin the web app). - The server limit
elasticsearch.search.maxTermBucketSize, set by the GMS environment variableELASTICSEARCH_QUERY_MAX_TERM_BUCKET_SIZE. The GMS default is60. The DataHub Helm chart setsglobal.elasticsearch.search.maxTermBucketSize: 20by default and passes it to GMS, so a Helm deployment uses20unless you change it.
Older versions add a second limit. Through DataHub OSS v1.6.x and DataHub Cloud v2.0.x, the sidebar also runs the platform aggregation with no filters, and it hides any platform that is not in that unfiltered top N. Filters can't bring back a low-ranked platform on those versions. DataHub OSS v1.7.0 and DataHub Cloud v2.1.0 removed this check. On those versions and later, the sidebar shows every platform in the top N of your current search and filters.
Browse paths (browsePathsV2) do not decide whether a platform appears. They decide the folders you see after you expand a platform. See Generating Browse Paths (V2).
Solution
Step 1: Upgrade if you are on an older version
If you run DataHub OSS v1.6.x or earlier, or DataHub Cloud v2.0.x or earlier, upgrade to DataHub OSS v1.7.0 or later, or DataHub Cloud v2.1.0 or later. After the upgrade, a search or filter that narrows the results brings low-ranked platforms into the sidebar.
Step 2: Raise the limit for the unfiltered view
With no filters applied, the sidebar still shows at most N platforms. If your instance has more platforms than N, raise the server limit.
DataHub Cloud: you can't change this setting yourself. Contact DataHub Support and say how many platforms you have.
Self-hosted with Helm:
- Check your current value.
helm get values <release-name> --allprints the values in use. Look forglobal.elasticsearch.search.maxTermBucketSize. - Set the value in your values file:
global:
elasticsearch:
search:
maxTermBucketSize: 100
Or pass it on the command line:
helm upgrade --install datahub datahub/datahub \
--set global.elasticsearch.search.maxTermBucketSize=100 \
-f values.yaml
- Apply the change with
helm upgrade. The GMS pods restart with the new value. You don't need to re-ingest or rebuild indices, because the limit applies when the query runs.
Self-hosted without Helm: set ELASTICSEARCH_QUERY_MAX_TERM_BUCKET_SIZE on the GMS container and restart GMS. See Environment Variables.
A value above 100 does not add more platforms to the sidebar, because the UI asks for 100 values. The setting also caps every other search aggregation, so set it no higher than you need.
Step 3: Check the result
Open the search page with no filters and confirm the missing platform now appears in the Navigate sidebar.