Browse Source

Prepped for distribution to github.

Fred Damstra 8 years ago
parent
commit
8dbb7add0e
5 changed files with 31 additions and 25 deletions
  1. 2 2
      .gitignore
  2. 26 2
      README.md
  3. 1 3
      bin/irpg.pl
  4. 2 2
      default/inputs.conf
  5. 0 16
      metadata/local.meta

+ 2 - 2
.gitignore

@@ -20,5 +20,5 @@ nytprof.out
 *.bs
 /_eumm/
 
-local/
-metadata/local.meta
+local/*
+metadata/*

+ 26 - 2
README.md

@@ -1,3 +1,27 @@
-# Splunk-IdleRPG
+# IdleRPG Support for Splunk
+Grabs information on one or more character's performance 
+in the edge-of-your-seat action role playing game IdleRPG,
+available for free on the FreeNode IRC Network,
+and presents it in a simple splunk dashboard.
+
+For more information on the game, see
+http://xethron.lolhosting.net/
+
+## Installation
+On a standlone splunk instance, extract to
+`$SPLUNK_DIR/etc/apps/`. Make a copy of the
+default/inputs.conf to local/inputs.conf and
+modify to suit your needs. Make sure you 
+update your character names in the stanza
+header and enable the script.
+
+## License
+This project is GPLv3. Use it. Enjoy. But share
+the wealth with others.
+
+See https://www.gnu.org/licenses/gpl-3.0.en.html
+
+## Author information
+Fred Damstra
+fred.damstra@gmail.com
 
-IdleRPG Support for Splunk

+ 1 - 3
bin/irpg.pl

@@ -1,7 +1,5 @@
 #!/usr/bin/perl -w
-# Usage: ./irpg.pl [playernames]
-#
-# Call this script from the command line, or your login profile.
+# Usage: ./irpg.pl <playername1> <playername2> ...
 use strict;
 use LWP::Simple;
 use POSIX qw(strftime);

+ 2 - 2
default/inputs.conf

@@ -1,5 +1,5 @@
-[script://$SPLUNK_HOME/etc/apps/IdleRPG/bin/irpg.pl SirMonkeybox shandor]
-disabled = false
+[script://$SPLUNK_HOME/etc/apps/IdleRPG/bin/irpg.pl playerA playerB]
+disabled = true
 host = xethron.lolhosting.net
 index = idlerpg
 interval = 300

+ 0 - 16
metadata/local.meta

@@ -1,16 +0,0 @@
-[indexes/idlerpg]
-owner = admin
-version = 6.5.3
-modtime = 1491594281.786422000
-
-[inputs/script%3A%2F%2F%24SPLUNK_HOME%2Fetc%2Fapps%2FIdleRPG%2Fbin%2Firpg.pl%20SirMonkeybox%20shandor]
-owner = admin
-version = 6.5.3
-modtime = 1491594288.564092000
-
-[views/home]
-access = read : [ * ], write : [ admin, power ]
-export = none
-owner = nobody
-version = 6.5.3
-modtime = 1491596934.347069000