Installation

Error in install Splunk version 5_Cannot merge metadata

sieutruc
Contributor

Hello,

When i updated my Splunk server from 4.3.4 to version 5., i got an error as running:

| metadata type=host 

error is "Error in 'metadata': No 'host' key found in results. Cannot merge metadata."

I restarted and tried again now it worked but as running the other:

| metadata type=sourcetypes 

error is "Error in 'metadata': No 'sourcetypes' key found in results. Cannot merge metadata.".

Can you suggest me how to solve that problem ?

Tags (1)

bawood
Path Finder

We saw this same error, until we upgraded our indexers. Once the indexers were upgraded and they finished the migration process the error was gone.

tiny3001
Path Finder

This should be the accepted answer. We had this problem this morning, upgraded one of our indexers to Splunk 5.0.2 and the metadata command is no longer returning errors.

0 Karma

pinowudi
Engager

I just upgraded from 4.3.3 to 5.0.1 and have the exact same issue.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...

Upgrade Prep for 10.4, Network Observability Deep Dives, and More from Splunk Lantern

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Splunk Developer Day announcements: AI agents, MCP tools, Forecasting, and Custom ...

Splunk Developer Day was packed with product and platform updates for developers building in the AI ...