Log Spend Auditor ES Download Free

Docs

Getting started

From download to your first findings in about 15 minutes. Every command runs on your own machine.

Requirements

  • Linux x86_64 with glibc 2.35 or newer. Built and tested on Ubuntu 22.04 LTS; a jump host, a VM or WSL2 on Windows all work.
  • No Python, pip or git: the program is a single self-contained executable.
  • Internet only to activate Pro and to re-validate the license about every 7 days. The demo and Quickscan never connect to anything.
  • For REST mode only: HTTPS access to your Splunk management port (8089 by default) and a Splunk token.

Install

Download Community (free) from the checkout link. Lemon Squeezy emails you a permanent download link. Then extract it and check the files:

tar -xzf log-spend-auditor-<version>-linux-x86_64.tar.gz
cd log-spend-auditor-<version>
sha256sum -c SHA256SUMS
./splunk-spend-auditor --version

If the shell says permission denied, run chmod +x splunk-spend-auditor. The package includes the Splunk searches for CSV mode in splunk-queries/.

Try the demo

See the whole product working before touching Splunk. The demo analyzes a built-in synthetic environment:

./splunk-spend-auditor demo

It writes a complete Pro-format report to ./demo-output/report.html. Nothing is read from or sent to any system. This is the same report as the sample report on this site.

Quickscan with CSV exports

Use CSV mode when this machine can't reach Splunk, or when you'd rather not create a token. Run each search from splunk-queries/ in Splunk Search and export the result as CSV into one folder, with these exact file names:

SearchExport asNeeded
ingest_by_index_sourcetype.splingest_by_index_sourcetype.csvRequired
audit_interactive_searches.splaudit_searches.csvRecommended
saved_searches_rest.splsaved_searches.csvRecommended
metadata_last_seen.spllast_seen.csvRecommended

Optional extras in the same folder: dashboards_used.csv (columns index,sourcetype) and protected_overrides.txt (one index:sourcetype per line for data that must never be flagged). The more files you provide, the more reliable the findings. Then run:

./splunk-spend-auditor quickscan --from-csv ./exports

Quickscan prints a summary in the terminal (total ingest, how much is worth reviewing, top candidates) and writes no files.

Quickscan over the REST API

With REST mode the tool runs the same searches for you through the Splunk API. The token is read from SPLUNK_TOKEN or a hidden prompt and is never written to disk:

export SPLUNK_TOKEN=...
./splunk-spend-auditor quickscan --host splunk.example.com --port 8089

TLS verification is on by default. Add --no-verify-ssl only for a lab with a self-signed certificate. Don't use an admin token: see Splunk permissions.

Activate Pro

After buying Pro, Lemon Squeezy emails you a license key. Activate it with the command below and paste the key at the hidden prompt. It never goes on the command line or into your shell history.

./splunk-spend-auditor license activate
./splunk-spend-auditor license status
./splunk-spend-auditor license deactivate
  • One license covers 1 active installation. Run license deactivate before moving it to another machine.
  • Pro re-validates about every 7 days and keeps working offline for up to 30 days after the last successful check.
  • license status works offline and never shows the full key.

Run the full audit

The audit classifies every dataset and writes the full report (HTML and Markdown) to the output folder. It works with either source:

./splunk-spend-auditor audit --from-csv ./exports --output-dir ./output
./splunk-spend-auditor audit --host splunk.example.com --port 8089 --output-dir ./output

Optional: add --annual-spend 94200 (your yearly Splunk cost) to see a dollar estimate. Without it, the report shows volumes and percentages only. Then open ./output/report.html.

Splunk permissions

The tool is read-only and works with a restricted role. This is what each permission is used for, and what happens without it:

AccessUsed forIf it's missing
search + _internalLicense usage per index and sourcetype. The only mandatory source.The run stops with a clear error. No report is built on a guess.
_auditInteractive search activity: who searches what, and how often.Detected and reported. Affected data is never marked as unused; it is downgraded to REVIEW.
Saved searches (all apps)Scheduled reports and alerts that use the data.Marked as unavailable. Data can't be flagged as unused on that basis.

A starting point for your Splunk admin: a role with the search capability and srchIndexesAllowed including _internal and _audit. On Splunk Cloud, _internal access may need to be granted explicitly.

Support

Write to support@logspendauditor.com. To get an answer faster, include the output of:

./splunk-spend-auditor --version
./splunk-spend-auditor license status

Never send your license key or your Splunk token.