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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...