All Apps and Add-ons

Unable to add custom field to wmi.conf like env=prod or stage

sraji
Explorer

Hello,

 

We have wmi.conf in place like below

[WMI:services]
wql = SELECT * FROM Win32_Process where Name like '%search%' OR Name like '%w3wp%'
interval = 300
disabled = 0
server = TestIN001

We wants to have events with environment like prod, stage & test and i have tried like below also but no luck

[WMI:services]
wql = SELECT * FROM Win32_Process where Name like '%search%' OR Name like '%w3wp%'
interval = 300
disabled = 0
server = TestIN001

_meta = environment::prod

 

Kindly help me on this if it is feasible somehow.

 

 

Labels (2)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...