mariussturm / graylog-plugin-output-neo4j

Experimental output plugin for Neo4j
Apache License 2.0
6 stars 4 forks source link

Cypher query problem #3

Open ccasado opened 8 years ago

ccasado commented 8 years ago

Hi. I didn't have effects when i change neo4j's cypher query inside the Editing Output view in Graylog.

The query configured by plugin installation is: MERGE (source:HOST { address: '${source}' }) MERGE (user_id:USER { user_id: '${user_id}'}) MERGE (source)-[:CONNECT]->(user_id)

I need to change the name of "HOST" node and the union with "USER" but is not work.

mariussturm commented 8 years ago

Do you see any errors in the graylog server log or in neo4j?

ccasado commented 8 years ago

Hi mariussturm, thanks for your attention. I don't have any log messages in neo4j or graylog. I made tests with outputs using http and bolt protocol and changes in cypher query not work. I'm using Graylog 2.1.1+01d50e5 and neo4j-community-3.0.6.

This is my query configured with bolt protocol: MERGE (source:NODE { address: '{source}' }) MERGE (app:APP { name: '{app}'}) MERGE (app)-[:DEPLOY]->(source)