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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...