cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How to check how many times a node has been queried?

pborah88
Node Clone

Is it possible to check how many times a certain node with a certain unique name (property NOT a label) has been queried against? Thanks.

1 REPLY 1

accounts
Node Clone

out of the box i don't think it's possible. However 2 idea might be

  • using logging
    ** turn on logging
    ** add a monitor to the log file
    ** on write, parse out query and if a match to your criteria is found update your counter somewhere
  • using procedures
    ** make all calls go through your custom procedure and update counter as desired.