Logshark icon indicating copy to clipboard operation
Logshark copied to clipboard

Delete Old data from Logshark output written into local postgres

Open KarthikINV opened this issue 2 years ago • 0 comments

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

KarthikINV avatar Nov 27 '22 10:11 KarthikINV