Splunk Connect for Ethereum
Splunk Connect for Ethereum (aka
ethlogger) makes it easy to ingest data about Ethereum ledgers, node information, and node metrics into another system for analysis. Currently, it can log to the Splunk HTTP Event Collector and stdout. It can also deserialize transactions and events if given a contract ABI. Some benefits include:
- Support for any Ethereum 1.0 JSON-RPC compatible blockchain or sidechain, including Quorum 🦄.
- Reliably saves state between restarts so you never have missing or duplicated events 🧘.
- Highly performant batching and compression algorithm 🚄.
- Extracts a rich set of node information and metrics in order to gain deep insight into your node 🙉.
- Introspects your node platform (i.e. geth, parity, besu or quorum) in order to ensure maximum data extraction 🎂.
- Contract fingerprinting in order to match ABIs with function signatures (i.e. we can decode the parameter names too!) 🔎.
- Enables awesome dashboards (keepin' it 200) 💯💯.
$ ethlogger [...options]
Details about ethlogger's command-line usage in the CLI docs
Find out how to configure ethlogger in the configuration docs.
Splunk Connect for Ethereum can be run in a docker container. You can pull the image from the GitHub container registry.
$ docker run -it ghcr.io/splunkdlt/ethlogger:latest \--eth-rpc-url=https://dai.poa.network \--start-at-block=latest \--hec-url=https://mysplunkserver.com:8088 \--hec-token=123-123-123-123 \--hec-events-index=main \--hec-metrics-index=metrics
There is also an example on how to run ethlogger in docker-compose.
There's a lot of information available via RPC on Ethereum nodes, but they need to be enabled via the command line on startup for
ethlogger to connect. See the relevant docs for:
- Geth and Quorum Docs or you can turn it all on:
- Quorum Specific Endpoints:
--rpcapi quorum,istanbul,raft(note: only one of
raftis active depending on the consensus method)
- Geth and Quorum: ensure that the host
ethloggeris running on is whitelisted in the
- OpenEthereum (Parity) Endpoints: note that the command line flag is
- Besu Endpoints or you can turn on:
--rpc-http-enabled --rpc-ws-enabled --rpc-http-api admin,eth,debug,miner,net,txpool,priv,trace,web3