Project

General

Profile

Bug #2446

Error when attempting to run inputs that are missing some parameters (such as interval)

Added by Luke Murphey over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
07/24/2019
Due date:
% Done:

100%


Description

https://answers.splunk.com/answers/760109/splunk-website-monitoring-stops-working-if-i-add-m-1.html#comment-760320

Error Message:

2019-07-22 10:52:38,914 ERROR Execution failed
Traceback (most recent call last):
File "/opt/splunk/etc/apps/website_monitoring/bin/modular_input.zip/modular_input/modular_input_base_class.py", line 1083, in execute
self.do_run(in_stream, log_exception_and_continue=True)
File "/opt/splunk/etc/apps/website_monitoring/bin/modular_input.zip/modular_input/modular_input_base_class.py", line 964, in do_run
self.run(stanza, cleaned_params, input_config)
File "/opt/splunk/etc/apps/website_monitoring/bin/web_ping.py", line 695, in run
interval = cleaned_params["interval"]
KeyError: 'interval'

Associated revisions

Revision 458 (diff)
Added by lukemurphey over 5 years ago

Making input more forgiving to missing parameters

Closes #2446

History

#1 Updated by Luke Murphey over 5 years ago

I'm thinking that the input is missing an interval.

#2 Updated by Luke Murphey over 5 years ago

  • Subject changed from Error when attempting to run inputs to Error when attempting to run inputs that are missing some parameters (such as interval)

#3 Updated by Luke Murphey over 5 years ago

  • Target version set to 2.7.6

#4 Updated by Luke Murphey over 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF