Splunk Search

Why does SOURCE_KEY=MetaData:Host not work for REPORT stanzas?

Jason
Motivator

I am trying to extract data from the Host field at search time, using a REPORT- in props.conf.

The extraction works when I use SOURCE_KEY = ComputerName, a field in the data that contains the host. But, this is only available in WinEventLog data, and I want it to apply to all hosts regardless of type of data.

I have tried SOURCE_KEY = MetaData:Host, but it does not work. What gives?

0 Karma
1 Solution

Jason
Motivator

It seems that MetaData:Host is only available at index time, for index-time transforms.

Use SOURCE_KEY = host when using the transform at search time.

View solution in original post

Jason
Motivator

It seems that MetaData:Host is only available at index time, for index-time transforms.

Use SOURCE_KEY = host when using the transform at search time.

Get Updates on the Splunk Community!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...