Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV Import Results is always Null Values for All Rows Using CSV Mapper #7822

Open
3 tasks done
KARINKISH1 opened this issue Jul 26, 2024 · 11 comments
Open
3 tasks done
Labels
needs triage use to identify issue needing triage from Filigran Product team question Further information is requested

Comments

@KARINKISH1
Copy link

Prerequisites

  • I read the Deployment and Setup section of the OpenCTI documentation as well as the Troubleshooting page and didn't find anything relevant to my problem.
  • I went through old GitHub issues and couldn't find anything relevant.
  • I googled the issue and didn't find anything relevant.

Description

I am trying to import a CSV file with 468,000 rows of data into OpenCTI. The file has columns such as name, domain, score, and description. I created a CSV Mapper and tested it, and it seemed to work fine. However, when I try to import data using that mapper, I only get "null/468,000" entries.

Environment

  1. OS (where OpenCTI server runs): Ubuntu 22.04.2 LTS
  2. OpenCTI version: 6.2.5

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Create a CSV Mapper for a file with columns name, domain, score, and description.
  2. Test the mapper to ensure it works correctly.
  3. Attempt to import the CSV file.
  4. Observe that the import results in "null/468,000".

Additional information

I have attached screenshots of my CSV Mapper configuration and the resulting null import data.
image
image
image
image
image
image
image

@KARINKISH1 KARINKISH1 added needs triage use to identify issue needing triage from Filigran Product team question Further information is requested labels Jul 26, 2024
@nino-filigran
Copy link

@KARINKISH1 could you maybe share your CSV here so that we can try it?

@KARINKISH1
Copy link
Author

test_csv_5.csv
Here is short example of my file.

@nino-filigran
Copy link

@KARINKISH1 it might be 2 things:

@KARINKISH1
Copy link
Author

So, I checked. And I saw that indeed, if you upload a small file (the one I left you as an example), there is an issue with display because it added them correctly. However, when I uploaded the old, full file of 80.4 MB, they did not get added at all.

@ThreatCTI
Copy link

Nothing at all is being added.

@KARINKISH1
Copy link
Author

Hello! Are there any updates regarding this error?

@nino-filigran
Copy link

Can you provide me with your larger file please?

@KARINKISH1
Copy link
Author

@nino-filigran ofc! You can download the file from this link:
https://drive.google.com/file/d/1ewk3zIH2e7Ea0l8IW-xiIYPxayZeGeST/view?usp=sharing

@KARINKISH1
Copy link
Author

Hi @nino-filigran I wanted to know if you’ve used the file I provided (link above). Were you able to reproduce the issue? Thanks

@KARINKISH1
Copy link
Author

guys? i really need help with this

@nino-filigran
Copy link

Sorry @KARINKISH1 so far I have not been able to reproduce no, so I don't have anything for you yet. I guess you're still encountering a problem, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage use to identify issue needing triage from Filigran Product team question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants