Copying sysdig sump files to remote storage

Open
#1,613 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
gcp, shell
Domain
cli, cloud

Research direction

Start by reviewing the documented behavior of the sysdig -G, -W, and -w options and the timestamped shell command shown in the issue. Check whether the CLI documentation explains retaining rotated dump files and sending them to GCP storage; done means documenting a workflow that preserves each dump without overwriting it.

Written by the indexing model from the issue text.

Description

feature-request pinned

Hello All, Is there a way to generate sysdig dump files based on the timestamp ? I am trying to copy the dump files to gcp storage and not want to overwrite the files. Currently i am doing this (which generates dumps every 15 min and keeps 5 files).

sysdig -G 900 -W 5 -qw /opt/sysdig_dumps/sysdig-$(date +'%Y%m%d-%H%M%S').scap
This generates files like below and first file gets overwritten after 5th dump file is generated.
sysdig-20200406-212213.scap0
sysdig-20200406-212213.scap1
sysdig-20200406-212213.scap2
sysdig-20200406-212213.scap3
sysdig-20200406-212213.scap4

How do we keep these dump files without getting overwritten and sent to remote storage?

Thanks

Dominant language
C++
Stars
8.3k
Forks
753
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from draios/sysdig

All issues in draios/sysdig

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.