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

Cypher query problem #3

Open
ccasado opened this issue Oct 25, 2016 · 2 comments
Open

Cypher query problem #3

ccasado opened this issue Oct 25, 2016 · 2 comments

Comments

@ccasado
Copy link

ccasado commented Oct 25, 2016

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
Copy link
Owner

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

@ccasado
Copy link
Author

ccasado commented Oct 26, 2016

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)

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

2 participants