Graylog2 / graylog-plugin-integrations

A collection of open source Graylog integrations that will be released together.
Other
14 stars 14 forks source link

Adding inputs not possible when Graylog URL includes path #602

Open sapajune opened 3 years ago

sapajune commented 3 years ago

Description

Having this plugin installed and serving Graylog from URL that includes additional path segment (e.g. /graylog/) breaks adding new inputs. Without plugin installed Graylog functions correctly.

Steps To Reproduce

  1. Run Graylog with URL that has path segment (e.g. http://localhost:9000/graylog/).
  2. Try to Launch any input -> configuration form doesn't open.
  3. Additional Launch button clicks cause Javascript errors in console.

Environment

sapajune commented 3 years ago

Just noticed that this might be caused by incorrect URL opened when launching AWS Kinesis/CloudWatch input. The browser URL path changes to /integrations/aws/cloudwatch when it probably should be /graylog/integrations/aws/cloudwatch in described case. This also seems to break further UI actions.