Graylog2 / Graylog2/graylog2-server

6.0 HTTP data adapter lookup failure message to wide

Open
#19,336 0 comments 0 reactions 0 assignees View on GitHub
bug triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## Expected Behavior

I should be able to close the error message for the lookup adapter even if the url is super long.

## Current Behavior

If the url becomes to long (and doesn't have any whitespace characters because they are encoded) one cannot click the close icon.

![image](https://github.com/Graylog2/graylog2-server/assets/38032588/a16d5237-bfd6-4613-8648-ffb2e3318706)

## Possible Solution

Add the following CSS for HTTP data adapter failures.
```css
.mantine-Alert-message {
overflow-wrap: anywhere;
}
```

## Steps to Reproduce (for bugs)

1. Add a failing (in our case on container restart) HTTP data adapter with super long url `[http://wtioit_json_lookup:5000/graylog/gitlab_project_id/${key}](http://wtioit_json_lookup:5000/graylog/xxxx?gitlab_log_message=${key})`
2. Send log message to Data adapter via lookup table
3. Check Notifications popping up

## Context

I always have to edit the CSS now with the browsers dom inspector in order to be able to confirm the notifications after i have redeployed a container.

## Your Environment

* Graylog Version: 6.0.1+7218cba
* Java Version: PID 7, Eclipse Adoptium 17.0.11 on Linux 6.1.0-17-amd64
* OpenSearch Version: 2.6.0
* MongoDB Version: 5.0
* Operating System: Debian bookworm (with graylog running in docker)
* Browser version: Firefox 124.0, Ubuntu 23.10

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.