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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...