Graylog2 / Graylog2/graylog2-server
CSV lookup adapter can't process a CSV file
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
## Expected Behavior
A csv-File stored in a predefined path can be configured as lookup data adapter and return a precconfigured value, e.g.:
CSV-FILE:

TEST:

## Current Behavior
For most CSV files the expected behaviour can be achieved. However, there seem to be [exceptions, click for csv file](https://github.com/Graylog2/graylog2-server/files/15456322/windows-applocker-applicationwhitelist.csv); Graylog states that not all lines contain all of the expected columns:


While it's impossible to resolve this by changing format or encoding and whatever one would tend to try of the file, sharing the very same file via http works as expected (used nginx for doing it, using the very same file from a readonly bindmount):

## Possible Solution
-/-
## Steps to Reproduce (for bugs)
1. Try to create CSV data adapter with the file (see above)
2. Expose the file via http and create a DSV data adapter with the same file
## Context
## Your Environment
* Graylog Version: 6.0.2
* OpenSearch Version: 2.13
* MongoDB Version: 7
* Operating System: Docker Container
Contributor guide
Assessment
This issue has not been assessed yet.