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!

Make Your Machine Data AI-Ready in Splunk

Every team is getting ready for AI agents.   Thursday, November 12, 2026  |  11AM  PST / 2PM EST   ...

Splunk Asynchronous Forwarding Explained

Splunk asynchronous forwarding is often misunderstood as simply setting autoLBVolume. That is not quite right. ...

How to Monitor AI Agents with Splunk Agent Observability

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...