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

Graylog 2.3 not able to send data to Neo4j graph - Getting Error Cannot Perform rotation #4

Open
GaneshbabuRamamoorthy opened this issue Aug 24, 2017 · 2 comments

Comments

@GaneshbabuRamamoorthy
Copy link

Hi @mariussturm

We are using Graylog 2.3 + Elasticsearch 5.5.0 + neo4j 3.2.2 versions for log monitoring application and we have installed neo4j output plugin in graylog to send the data to neo4j graph database.

we have configured the neo4j output with the connection details + Cypher queries. From the graylog streams section we could able to see the data is coming (i.e 40 messages/second) and then in the Manage Output we are trying to send the data to Neo4j graph database and I could see below error messages were thrown,

INFO [Neo4JBoltTransport] Identified 3 fields in graph create query.
INFO [Neo4jOutput] Neo4j output started!
ERROR [AbstractRotationStrategy] Cannot perform rotation at this moment.
ERROR [AbstractRotationStrategy] Cannot perform rotation at this moment.
ERROR [AbstractRotationStrategy] Cannot perform rotation at this moment.
WARN [NodePingThread] Did not find meta info of this node. Re-registering.
ERROR [AbstractRotationStrategy] Cannot perform rotation at this moment.
ERROR [AbstractRotationStrategy] Cannot perform rotation at this moment.

index size info

Please kindly help on this issue and let me know if you need any further informations.

Regards,
Ganeshbabu R

@mariussturm
Copy link
Owner

Hi,
the error has nothing to do with neo4j. It indicates a problem with normal Elasticsearch rotation but should not be related to this plugin.
I have bumped the dependencies and build the plugin for Graylog 2.3.0, please test with this release again: https://github.com/mariussturm/graylog-plugin-output-neo4j/releases/tag/2.3.0
That one work on my setup.

@GaneshbabuRamamoorthy
Copy link
Author

GaneshbabuRamamoorthy commented Aug 30, 2017

Hi @mariussturm

Yes I accept it, the error which i got its not related to the neo4j. But when I am trying to create an node in neo4j from the graylog by using the below cypher query,

> MERGE ('dest-mapp-address':DESTMAP {destmap:{'dest-mapp-address'}})

The neo4j output plugin not able to create a node on the neo4j graph db since my node has some special characters and so I used backticks to avoid that issue. The backticks are applicable for variable name, labels & relationship names but not for the property value.

can you tell us how to set the field name (dest-mapp-address) as the value of the property "destmap"???

Note:-
Since my graylog has the value for the field (dest-mapp-address) as "172.21.10.111
I tried the :params in the neo4j browser and worked successfully but not able to replicate the same through neo4j output plugin
Below is the sample query I tried in neo4j browser,

':params {"dest-mapp-address":"172.29.2.12"}
MERGE ('dest-mapp-address':DESTMAP {destmap:{'dest-mapp-address'}})'

Let me know your thoughts on this.

Regards,
Ganeshbabu R

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