/neo4s

Neo4j queries over Splunk

Primary LanguagePythonApache License 2.0Apache-2.0

neo4s

Use the power of neo4j over Splunk.

This app allows you to run cypher queries and get the results, all over splunk. This allows you to take advantage of both neo4j's cypher and splunk's SPL.

App page on SplunkBase: https://splunkbase.splunk.com/app/3883/

Examples

Basic usage:

| neo4j host="mygraph.com:7474" query="MATCH (n)-[r]->(m) RETURN n,r,m" | table *

Using neo4j authentication:

| neo4j host="secretgraph.com:7474" username="neo4j" password="neo4j" query="MATCH (n) RETURN n LIMIT 10"

Using bolt protocol:

| neo4j host="mygraph.com:7687" scheme="bolt" query="MATCH (n) RETURN n" | table *

Options

  • host (required): Hostname + graph port (port is optional, default port is 7474 for HTTP and 7687 for bolt)
  • query (required): Cypher query to run on the graph (can be of any kind)
  • username (optional): Username for authentication
  • password (optional): Password for authentication
  • scheme (optional): Default to HTTP

Protocol

This app can query neo4j graphs in bolt protocol. The default is HTTP, in order to use bolt, set scheme="bolt" and use the bolt port at the end of the host parameter.

Credits

  • Uses neo4j python client py2neo
  • App icon is taken from Icons8