LogToSplunk

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

Log To Splunk

Version 0.8 Beta

The Log To Splunk Plugin is a CraftBukkit plugin for advanced logging with Splunk. LTS has two primary functions

  1. Pull advanced logging information (ie. player location, mined blocks, portal creation) from MineCraft in a key-value pair format
  2. Log the information directly to Splunk via a TCP input

Getting Started

This section provides information about installing and using the Minecraft App.

Requirements

  • Operating System: Tested on Windows, Linux, and Mac OS X.
  • Splunk: The analytics platform from Splunk
  • Craftbukkit 1.6.2+: The open source minecraft server from Craftbukkit
  • Minecraft App (optional): Advanced, accessible visualizations for LTS data from Minecraft App Github

Splunk Input Configuration

  1. Download Splunk from Splunk for your desired platform and launch the service
  2. Confgiure a TCP input as noted in the Documentation for whatever port you like.
  3. Ensure firewalls and NAT are properly configured if applicable

Installing the LogToSplunk Plugin

  1. Downlod the jar from Craftbukkit
  2. Copy the LogToSplunk jar into your craftbukkit server's /plugins folder.
  3. Create a /LogToSplunk directory in the /plugins folder
  4. Create a and edit /config.yml text file in the /LogToSplunk directory created in 3
    • The text file should contain one line in the format of "splunks: \<Splunk Server>:\<TCP Input Port>" (ie. "splunks: localhost:8888"). Multiple servers can be added as comma separated values between the server:port entries. A port must be specified.

Known Issues

1) LogToSplunk does not maintain connecton across Splunk restarts. The minecraft server must be restarted if Splunk is restarted 2) Time calculations and active players may be mis-reported if player disconnects are not logged properly (ie. due to a server crash). Orphaned sessions may be estimated by running sessions from connection to the subsequent server start. 3) The live map may appear to "shift" as the minecraft world expands and overviewer resets it's origin in future renders. This can be corrected by recopying and modifying the overviewerConfig.js script with the same steps as the installation.

Documentation and resources

When you need to know more:

How to contribute

If you would like to contribute to the Minecraft App or Log To Splunk, go here for more information:

Please feel free to open issues and provide feedback through GitHub Issues.

License

The LogToSplunk plugin is licensed under the Apache License 2.0. Details can be found in the LICENSE file.


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files