Difference between revisions of "SUNScholar/Elastic Statistics/Import Logs"
Jump to navigation
Jump to search
m (→Introduction) |
m (→References) |
||
| Line 10: | Line 10: | ||
===References=== | ===References=== | ||
| + | ====Export Utility=== | ||
| + | '''/home/dspace/bin/dspace stats-log-converter''' | ||
| + | <pre> | ||
| + | usage: ClassicDSpaceLogConverter | ||
| + | |||
| + | -h,--help help | ||
| + | -i,--in <arg> source file ('-' or omit for standard input) | ||
| + | -m,--multiple treat the input file as having a wildcard ending | ||
| + | -n,--newformat process new format log lines (1.6+) | ||
| + | -o,--out <arg> destination file or directory ('-' or omit for standard | ||
| + | output) | ||
| + | -v,--verbose display verbose output (useful for debugging) | ||
| + | |||
| + | ClassicDSpaceLogConverter -i infilename -o outfilename -v (for verbose output) | ||
| + | </pre> | ||
Revision as of 09:23, 23 January 2015
BACK TO ELASTIC STATISTICS
Contents
Introduction
To get a full statistical history after enabling Elastic Statistics, requires the import of old log data. Below are details to do just that.
Step 1 - Export old log data to suitable import format
Step 2 - Import prepared log data to Elastic Statistics
References
=Export Utility
/home/dspace/bin/dspace stats-log-converter
usage: ClassicDSpaceLogConverter
-h,--help help
-i,--in <arg> source file ('-' or omit for standard input)
-m,--multiple treat the input file as having a wildcard ending
-n,--newformat process new format log lines (1.6+)
-o,--out <arg> destination file or directory ('-' or omit for standard
output)
-v,--verbose display verbose output (useful for debugging)
ClassicDSpaceLogConverter -i infilename -o outfilename -v (for verbose output)