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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...