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!

Let’s Talk Terraform

If you’re beyond the first-weeks-of-a-startup stage, chances are your application’s architecture is pretty ...

Cloud Platform | Customer Change Announcement: Email Notification is Available For ...

The Notification Team is migrating our email service provider. As the rollout progresses, Splunk has enabled ...

Save the Date: GovSummit Returns Wednesday, December 11th!

Hey there, Splunk Community! Exciting news: Splunk’s GovSummit 2024 is returning to Washington, D.C. on ...