All Apps and Add-ons

Website monitoring app defaults

afx
Contributor

Hi,
how can I set defaults for the website monitoring app? For example for including headers or the timeout.
A general stanza in inputs.conf or where?
thx
afx

0 Karma
1 Solution

LukeMurphey
Champion

You can specify the defaults for website monitoring inputs by setting the values in $SPLUNK_HOME/etc/apps/website_monitoring/local/inputs.conf.

See $SPLUNK_HOME/etc/apps/website_monitoring/README/inputs.conf.spec for what values it accepts.

Your inputs.conf ought to look something like this (assuming you want headers returned and a timeout of 45 seconds):

[web_ping://default]
return_headers=true
timeout=45

View solution in original post

0 Karma

LukeMurphey
Champion

You can specify the defaults for website monitoring inputs by setting the values in $SPLUNK_HOME/etc/apps/website_monitoring/local/inputs.conf.

See $SPLUNK_HOME/etc/apps/website_monitoring/README/inputs.conf.spec for what values it accepts.

Your inputs.conf ought to look something like this (assuming you want headers returned and a timeout of 45 seconds):

[web_ping://default]
return_headers=true
timeout=45
0 Karma

afx
Contributor

Hmm,
looks like the default set there will populate the GUI settings.
I was hopig for defaults that woul be automatically used without being explicity written ito the configuration file (I have more than 100 entries in there...)

cheers
afx

0 Karma

jwiedow
Communicator

@afx try creating a stanza named web_ping in local/inputs.conf and adding what you want for defaults there.

[web_ping]
index=mydefaultindex
return_headers=true
timeout=45

0 Karma

afx
Contributor

Thank you, works perfectly!
afx

0 Karma

afx
Contributor

Thanks,
it works, also setting the default index which is not in the spec.
thx
afx

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...