PSQL Slow Statement logs in Skywalking (kubernetes instance) #12168
-
Hi, I am trying to setup Postgres Slow statements logs and have been following demo example given at link. As of now, I am not seeing any logs showing up in skywalking instance. Not sure what I am missing. Following are the logs from fluent-bit service. I validated the json output and fluent-bit service is able to send logs via http://:13800/v3/logs: On postgres database service, I am only seeing duplicate entry errors except the following one which I dont think is related to psql slow statements: While looking at skywalking-oap logs, I do not see error. Just seeing removal of data after certain time.
Is there any setting which I am missing on skywalking oap instance? Please let me know if any further logs are required. I am relatively new to skywalking and would really appreciate any suggestions Skywalking v9.7.0 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
@yswdqz may know more. By looking at these logs, I assume you have the wrong timestamp. |
Beta Was this translation helpful? Give feedback.
-
Yes, it looks like a timestamp issue where |
Beta Was this translation helpful? Give feedback.
-
Try to change this It should be |
Beta Was this translation helpful? Give feedback.
Yes, it looks like a timestamp issue where
top_n_database_statement_19700120
would be considered data from 1970/01/20 and thus be deleted for being out of date