[GH-ISSUE #47] Import entities: same type entities not imported properly #47

Closed
opened 2026-04-11 08:40:52 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @ameygat on GitHub (Nov 12, 2025).
Original GitHub issue: https://github.com/reconurge/flowsint/issues/47

Import entities when I try to import csv file with multiple domains from a csv file with structure:

domain,detection.fyi
domain,ridiculous-breakpoint-gw.aws-use1.cloud-ara.tyk.io
domain,boriz400.com

The csv file has 27 records but all the Labels are named as "domain" so only 1 node was imported after clicking button "Import 27 Entities"
At second and third time of test it added 0 records not sure why is that.

Image

When I edit the first some records with label like "domain", "domain1" , "domain2" , "domain3", "domain4", the import added 4 records and kept rest of records with "domain" only 5 records were added out of 27. So I think solution might be unique labels at time of import.

Image
Originally created by @ameygat on GitHub (Nov 12, 2025). Original GitHub issue: https://github.com/reconurge/flowsint/issues/47 Import entities when I try to import csv file with multiple domains from a csv file with structure: domain,detection.fyi domain,ridiculous-breakpoint-gw.aws-use1.cloud-ara.tyk.io domain,boriz400.com The csv file has 27 records but all the Labels are named as "domain" so only 1 node was imported after clicking button "Import 27 Entities" At second and third time of test it added 0 records not sure why is that. <img width="1424" height="896" alt="Image" src="https://github.com/user-attachments/assets/5d5bb016-443f-45d7-b4b4-26a5957206ab" /> When I edit the first some records with label like "domain", "domain1" , "domain2" , "domain3", "domain4", the import added 4 records and kept rest of records with "domain" only 5 records were added out of 27. **So I think solution might be unique labels at time of import.** <img width="976" height="314" alt="Image" src="https://github.com/user-attachments/assets/1f69bf64-c913-4b8f-80d3-f63d7c3e9445" />
Author
Owner

@dextmorgn commented on GitHub (Nov 12, 2025):

Right, so what happens is the parser doesn't detect detection.fyi to be the key to use for the labelling.

Maybe the user should be able to choose a key to use as default label key, in your case detection.fyi.

I'll work on enhancing this import feature.

In the meanwhile, if you still want to import your list (as you don't have that many keys in your csv it seems) I'd suggest importing your list as txt file, under the format:

# file.txt
boriz400.com
ridiculous-breakpoint-gw.aws-use1.cloud-ara.tyk.io

It should take you less time that inserting them all by hand, and should detect them correctly.

<!-- gh-comment-id:3523040868 --> @dextmorgn commented on GitHub (Nov 12, 2025): Right, so what happens is the parser doesn't detect `detection.fyi` to be the key to use for the labelling. Maybe the user should be able to choose a key to use as default label key, in your case `detection.fyi`. I'll work on enhancing this import feature. In the meanwhile, if you still want to import your list (as you don't have that many keys in your csv it seems) I'd suggest importing your list as txt file, under the format: ```bash # file.txt boriz400.com ridiculous-breakpoint-gw.aws-use1.cloud-ara.tyk.io ``` It should take you less time that inserting them all by hand, and should detect them correctly.
Author
Owner

@ameygat commented on GitHub (Nov 13, 2025):

Thanks for the quick reply. I would use the temporary solution given by you for now.

<!-- gh-comment-id:3526927292 --> @ameygat commented on GitHub (Nov 13, 2025): Thanks for the quick reply. I would use the temporary solution given by you for now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/flowsint#47