Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove clp file via management console? #597

Open
dkhwangbo opened this issue Nov 19, 2024 · 2 comments
Open

How to remove clp file via management console? #597

dkhwangbo opened this issue Nov 19, 2024 · 2 comments
Assignees

Comments

@dkhwangbo
Copy link

I can read compressed data with below.

  1. compress raw log with sbin/compress.sh
  2. Open 'search' page of web UI
  3. Search, and read specific row with log-viewer

To remove compressed data, delete all file within archive_output directory and ir_output directory.
And then, Open 'search' page of webUI again, and search with '*' . Then I got error.

Any document or best practice about it?
How to remove specific (not all) clp file without error?

@kirkrodrigues
Copy link
Member

Hey @dkhwangbo,

To remove compressed data, delete all file within archive_output directory and ir_output directory.
And then, Open 'search' page of webUI again, and search with '*' . Then I got error.

Ah, that's an unsupported use case since the metadata for those archives would still exist in the database. We will be improving CLP's robustness for cases like this, but it will remain an error since missing data is not something we want to hide from the user.

How to remove specific (not all) clp file without error?

CLP doesn't currently have support for deleting a single file from the archives, although it's something we could support.

To clarify, do you want to delete a compressed file based on its original file path (i.e., the path that was initially passed to compress.sh)?

@dkhwangbo
Copy link
Author

@kirkrodrigues Hi. Thanks for your reply.
I want to remove 'compressed file'. (result of compress.sh)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants