Alerting

Stanza for inputs.conf.

jackin
Path Finder

Hello Splunkers 

How to write stanza to monitor for 2 services...

 

if I am using this stanza. it will gives 100+ services data... but I need only 2 or 3 services only...

[WinHostMon://Service]

type = service

interval = 300

disabled = 0

index = myindex

Labels (1)
Tags (1)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

There is no filtering or limiting option for this type of input. You'd have to filter the events further down the pipeline. On your indexer or HF, depending on your setup.

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...