You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Activity
kristopolous commentedon Apr 29, 2020
Logrotate can handle all of this, including the timestamp.
github-actions commentedon Feb 22, 2023
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.