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!

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 ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...