Getting Data In

_meta: How does it work?

tam82
Explorer

I am setting _meta at the app level can i also set it in the /system/local or will one override the other

 

For example

/myapp/inputs

_meta name::bill 

/system/local/inputs

_meta last::dave

so then the indexer would get both bill and dave

Labels (3)
Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @tam82 and @splunknewbie,

as you can read at https://docs.splunk.com/Documentation/Splunk/9.0.0/Admin/Inputsconf, it's possible to assign a field value using _meta, but why do you want to do this?

Ciao.

Giuseppe

0 Karma

splunknewbie
Loves-to-Learn Lots

I have the same problem.

I would like to use _meta under hec token definition.

It doesn't work either.

 

0 Karma

isoutamo
SplunkTrust
SplunkTrust
This has fixed by Splunk. It works at least 9.1.3+ versions as expected.
_meta = foo::bar
0 Karma

PickleRick
SplunkTrust
SplunkTrust

What do you mean by "fixed"?

Assigning _meta worked "since always" (I've been using it for last 5 years or so).

But since it's a single setting, you can't just stack separate definitions from multiple files. Only one will be the "winning" one according to normal rules of config precedence.

0 Karma

isoutamo
SplunkTrust
SplunkTrust
There was a bug with http inputs where it hasn't work earlier even it should. Nice that it has fixed and it works also with http input too.
0 Karma

splunknewbie
Loves-to-Learn Lots

is it fixed? under which version is fixed?

is there any technical documentation for that?

Thanks

 

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...