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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...