Linux systems have a built in set of utilities that make it simple to work with large logs.
The steps are as follows:
- Compress the file or files.
- Split the files into pieces that are smaller than 20MB.
- Upload the split pieces.
For example, given a set of log files with the names AMPS-xxxx.log, you could run the following commands:
$ zip AMPS.logs.zip AMPS-*.log
$ split -b 19M -d AMPS.logs.zip AMPS-Log-Chunk-
At this point, you will have a numbered set of files:
$ ls *Chunk*
AMPS-Log-Chunk-00 AMPS-Log-Chunk-02 AMPS-Log-Chunk-04
AMPS-Log-Chunk-01 AMPS-Log-Chunk-03
Each of the files will be 19MB or less. You can upload the files into ZenDesk, and let the engineer handling the ticket know that these are split pieces of a compressed ZIP file.
Keywords: ZenDesk, log files, upload log files, gzip, zip, split, support
All disk settings:
PDs for VD 0 :
============
-----------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp
-----------------------------------------------------------------------
134:0 22 Onln 0 1.089 TB SAS HDD Y N 512B ST1200MM0039 U
134:1 16 Onln 0 1.089 TB SAS HDD Y N 512B ST1200MM0039 U
134:2 19 Onln 0 1.089 TB SAS HDD Y N 512B ST1200MM0039 U
134:3 17 Onln 0 1.089 TB SAS HDD Y N 512B ST1200MM0039 U
134:4 20 Onln 0 1.089 TB SAS HDD Y N 512B ST1200MM0039 U
134:5 21 Onln 0 1.089 TB SAS HDD Y N 512B ST1200MM0039 U
-----------------------------------------------------------------------
EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroup
DHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare
UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface
Med-Media Type|SED-Self Encryptive Drive|PI-Protection Info
SeSz-Sector Size|Sp-Spun|U-Up|D-Down|T-Transition|F-Foreign
UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shielded
CFShld-Configured shielded|Cpybck-CopyBack|CBShld-Copyback Shielded