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 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...