mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01:00
1ebfea34d4
* deployment/logs-benchmark: add benchmark setup Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com> * deployment/logs-benchmark: update readme info - add sizes of uncompressed logs - add more info about dashboard Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com> --------- Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
35 lines
920 B
Bash
Executable File
35 lines
920 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
# Unarchived size: 5.1M Apache.log
|
|
if [ ! -f Apache.tar.gz ]; then
|
|
curl -o Apache.tar.gz -C - https://zenodo.org/record/3227177/files/Apache.tar.gz?download=1
|
|
fi
|
|
|
|
# Unarchived size: 13G hadoop-*.log
|
|
if [ ! -f HDFS_2.tar.gz ]; then
|
|
curl -o HDFS_2.tar.gz -C - https://zenodo.org/record/3227177/files/HDFS_2.tar.gz?download=1
|
|
fi
|
|
|
|
# Unarchived size: 2.3M Linux.log
|
|
if [ ! -f Linux.tar.gz ]; then
|
|
curl -o Linux.tar.gz -C - https://zenodo.org/record/3227177/files/Linux.tar.gz?download=1
|
|
fi
|
|
|
|
# Unarchived size: 32G Thunderbird.log
|
|
if [ ! -f Thunderbird.tar.gz ]; then
|
|
curl -o Thunderbird.tar.gz -C - https://zenodo.org/record/3227177/files/Thunderbird.tar.gz?download=1
|
|
fi
|
|
|
|
# Unarchived size: 73M SSH.log
|
|
if [ ! -f SSH.tar.gz ]; then
|
|
curl -o SSH.tar.gz -C - https://zenodo.org/record/3227177/files/SSH.tar.gz?download=1
|
|
fi
|
|
|
|
mkdir -p logs
|
|
|
|
for file in *.tar.gz; do
|
|
tar -xzf $file -C logs
|
|
done
|