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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...