Graylog2 / Graylog2/graylog2-server
lookup tables file lookup adding characters/no clean parse
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
## Expected Behavior
Characters at the end of lines should be ignored.
## Current Behavior
Spaces or Tabs are added to the values.

## Possible Solution
The Data Parser should parse/read only the data inside the quote characters.
## Steps to Reproduce (for bugs)
```
root@gm-01-u:~# cat -A /etc/graylog/host-table.csv
"ip","hostname"$
"192.168.1.50","gm-01-c.lan" $
"192.168.1.51","gm-01-d.lan"$
"192.168.1.52","gm-01-u.lan"$
```
## Context
Most CSV will be created by exporting Excel files, but some might be created manual and additional spaces might be added at the end of a line or after a separator. Spotting this becomes hard if the file is bigger.
## Your Environment
* Graylog Version: 2.3.0 rc.1
Contributor guide
Assessment
This issue has not been assessed yet.