- A Splunk server with HTTP Event Collector
- Easily create an ephemeral one in Docker:
docker run --rm -it -p 8000:8000 -p 8088:8088 -e SPLUNK_START_ARGS=--accept-license -e SPLUNK_PASSWORD=password --name splunk splunk/splunk
- Easily create an ephemeral one in Docker:
- Python 3 and Poetry
- Python dependencies (
poetry install --no-dev
)
- Go to https://store.steampowered.com/account/history and log in.
- Click "Load More Transactions" at the bottom until your full history is shown.
- Hit Ctrl+S and save the page as an HTML document.
- You can delete the directory full of CSS, JavaScript, and image files, you'll only need the HTML doc.
SPLUNK_HEC_TOKEN=<token> poetry run python main.py steam_history.html
Where steam_history.html
is the file you downloaded from Steam.
Usage:
main.py <html_file> [--hec-url=<url>] [--hec-token=<token>] [--index=<index>]
Options:
-h --help Show this help.
-v --version Show version.
--hec-url=<url> Splunk HTTP Event Collector URL [default: https://localhost:8088/services/collector/event].
--hec-token=<token> Splunk HEC Token (if blank, pulled from SPLUNK_HEC_TOKEN environment variable).
--index=<index> Splunk index to send data to [default: steam].
See dashboard.json - requires Dashboard Studio.