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

Text query results #6

Open
randomuserid opened this issue Jul 19, 2024 · 1 comment
Open

Text query results #6

randomuserid opened this issue Jul 19, 2024 · 1 comment

Comments

@randomuserid
Copy link
Member

One of the optional output formats in Neo is a text blob which looks like this:
image

The URI looks like this from what I can see:

 "bolt_routing": "neo4j://18.215.233.59:7687",
    "transaction": "http://18.215.233.59:7474/db/{databaseName}/tx",
    "bolt_direct": "bolt://18.215.233.59:7687",
    "neo4j_version": "5.21.0",
    "neo4j_edition": "community"

We need to work out how to get this output format from Neo so we can show it in a Forensic view when a user wants to see complete details of alerts in a set for various reasons.

@randomuserid
Copy link
Member Author

maybe like this;


   // Format the results as text
    result.records.forEach(record => {
      const node = record.get('n');
      const entityType = record.get('entity_type');
      console.log(`Node properties: ${JSON.stringify(node.properties)}, Entity type: ${entityType}`);
    });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant