About archive signing
You can use archive signing to sign your Splunk data when it gets archived (rolled from cold to frozen). An archive signature is a hash signature of all the data in the archived bucket. Archive signing lets you verify integrity when you restore an archive.
See "Set a retirement and archiving policy" in the Managing Indexers and Clusters manual for general information on archiving works.
How archive signing works
By default, Splunk does not archive data when it rolls to frozen. It merely deletes it from the index. You can, however, configure Splunk to archive the data before removing it from the index. There are two ways to set up archiving:
See "Archive indexed data" in the Managing Indexers and Clusters manual to learn how to configure data archiving.
To use archive signing, you must specify a custom archiving script; you cannot use it if you choose to have Splunk perform the archiving automatically. You add signing to your script by invoking the
signtool -s utility.
Splunk verifies archived data signatures automatically upon restoring the archive. You can also verify signatures manually by using
signtool -v <archive_path>.
Add archive signing to your custom script
You can add signing to any custom archiving script. You just add a single line for the
signtool -s utility. Place this line anywhere after the data formatting lines in the script, but before the lines that copy the data to the archive.
See "Archive indexed data" in the Managing Indexers and Clusters manual for details on creating a archiving script.
signtool, located in
$SPLUNK_HOME/bin, to sign buckets during archiving. You can also use it later to verify the integrity of an archive.
signtool [- s | --sign] <archive_path>
signtool [-v | --verify] <archive_path>
Cryptographically sign audit events
Configure IT data block signing
This documentation applies to the following versions of Splunk® Enterprise: 5.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7, 5.0.8, 5.0.9, 5.0.10, 5.0.11, 5.0.12, 5.0.13, 5.0.14, 5.0.15, 5.0.16, 5.0.17, 5.0.18, 6.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 6.0.6, 6.0.7, 6.0.8, 6.0.9, 6.0.10, 6.0.11, 6.0.12, 6.0.13, 6.0.14, 6.0.15, 6.1, 6.1.1, 6.1.2, 6.1.3, 6.1.4, 6.1.5, 6.1.6, 6.1.7, 6.1.8, 6.1.9, 6.1.10, 6.1.11, 6.1.12, 6.1.13, 6.1.14