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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

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