Getting Data In

how can i add some description at all input log (metric, syslog, snmp, etc...)

melonking
Observer

 

how can i add some descriptions at all input log (metric, syslog, snmp, etc...)

 

i tried, add "_meta = description::test_description" in UF inputs.conf

in this case, can be added description at all log

but, cant HF case

 

so... i think, what if it could be applied to heavy forwarder?

retried add "_meta ~~" in HF inputs.conf

 

but, not work

 

how can i do? 

 

 

0 Karma

PickleRick
SplunkTrust
SplunkTrust

What do you mean by "description"? If you manipulate _meta, you touch fields _for every event_ of given sourcetype, source or host.

But if you do want to add a static field to your events (I do it on some of my forwarders to be able to quickly identify which forwarder the data came from) you should also add the field as indexed field in your fields.conf on search-heads

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...