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

Delete Old data from Logshark output written into local postgres #160

Open
KarthikINV opened this issue Nov 27, 2022 · 0 comments
Open

Delete Old data from Logshark output written into local postgres #160

KarthikINV opened this issue Nov 27, 2022 · 0 comments

Comments

@KarthikINV
Copy link

Hi Team,

We are using Logshark and writing/appending output to Postgres, but day by day data is increasing up, is there any easy way we can delete the data older than 1 month/2months data from postgres.

I'm trying to understand schema structure and thinking of building sql queries but don't want into getting trouble of deleting latest data as well.

Could you please help in providing delete sql queries to delete data older logshark data
image

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

1 participant