teragrep / ajs_01

User interface for Teragrep
Apache License 2.0
0 stars 0 forks source link

DT.net does not process all updates #144

Open kortemik opened 1 year ago

kortemik commented 1 year ago

ID <224> Reporter <@kortemik>

ui.bug.png

kortemik commented 1 year ago

User <@kortemik> Date <[2022-06-10T03:16:36Z]>

on the update we see 2022-06-10 data, but the ui still is on 2022-06-06, clicking on page 2 and coming back to page 1 updates the content

kortemik commented 1 year ago

User <@kortemik> Date <[2022-06-10T04:01:10Z]>

It seems that table initialization causes an AJAXRequest:

{"draw":1,"columns":[{"data":0,"name":"","searchable":true,"orderable":true,"search":{"value":"","regex":false}},{"data":1,"name":"","searchable":true,"orderable":true,"search":{"value":"","regex":false}},{"data":2,"name":"","searchable":true,"orderable":true,"search":{"value":"","regex":false}},{"data":3,"name":"","searchable":true,"orderable":true,"search":{"value":"","regex":false}},{"data":4,"name":"","searchable":true,"orderable":true,"search":{"value":"","regex":false}},{"data":5,"name":"","searchable":true,"orderable":true,"search":{"value":"","regex":false}},{"data":6,"name":"","searchable":true,"orderable":true,"search":{"value":"","regex":false}},{"data":7,"name":"","searchable":true,"orderable":true,"search":{"value":"","regex":false}},{"data":8,"name":"","searchable":true,"orderable":true,"search":{"value":"","regex":false}}],"order":[{"column":0,"dir":"desc"},{"column":0,"dir":"asc"}],"start":0,"length":25,"search":{"value":"","regex":false}}

but the server is not ready to serve such and starts responses from

{"data":[{"_time":"2022-06-10T06:54:03.626+03:00","_raw":"10.06.2022 06:54:03.626 [WARN] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 warn daily says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"13","offset":67654,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:54:03.626+03:00","_raw":"10.06.2022 06:54:03.626 [ERROR] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 error audit says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"18","offset":67729,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:54:03.626+03:00","_raw":"10.06.2022 06:54:03.626 [ERROR] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 error daily says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"0","offset":68187,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:54:03.626+03:00","_raw":"10.06.2022 06:54:03.626 [WARN] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 warn metric says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"0","offset":68186,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:54:03.626+03:00","_raw":"10.06.2022 06:54:03.626 [ERROR] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 error metric says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"10","offset":68186,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:54:03.625+03:00","_raw":"10.06.2022 06:54:03.625 [WARN] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 warn audit says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"15","offset":67443,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:54:03.625+03:00","_raw":"10.06.2022 06:54:03.625 [INFO] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 info metric says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"2","offset":67643,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:54:03.624+03:00","_raw":"10.06.2022 06:54:03.624 [INFO] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 info audit says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"16","offset":67517,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:54:03.624+03:00","_raw":"10.06.2022 06:54:03.624 [INFO] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 info daily says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"8","offset":67752,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:54:03.253+03:00","_raw":"[WARN] 2022-06-10 06:54:03,253 com.teragrep.jla_02.Log4j Log - Log4j warn says hi!","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"15","offset":67442,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:54:03.253+03:00","_raw":"669451198  [Thread-3] INFO  com.teragrep.jla_02.Logback Metric - Logback-metric says hi.","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"7","offset":68057,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:54:03.253+03:00","_raw":"[ERROR] 2022-06-10 06:54:03,253 com.teragrep.jla_02.Log4j Log - Log4j error says hi!","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"22","offset":67431,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:54:03.252+03:00","_raw":"[INFO] 2022-06-10 06:54:03,252 com.teragrep.jla_02.Log4j Log - Log4j info says hi!","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"18","offset":67728,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:54:03.252+03:00","_raw":"669451197  [Thread-3] INFO  com.teragrep.jla_02.Logback Daily - Logback-daily says hi.","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"26","offset":67835,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:54:03.252+03:00","_raw":"669451197  [Thread-3] INFO  com.teragrep.jla_02.Logback Audit - Logback-audit says hi.","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"8","offset":67751,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:53:58.623+03:00","_raw":"10.06.2022 06:53:58.623 [ERROR] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 error daily says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"16","offset":67516,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:53:58.623+03:00","_raw":"10.06.2022 06:53:58.623 [ERROR] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 error metric says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"6","offset":67504,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:53:58.623+03:00","_raw":"10.06.2022 06:53:58.623 [ERROR] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 error audit says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"24","offset":68063,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:53:58.623+03:00","_raw":"10.06.2022 06:53:58.623 [WARN] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 warn daily says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"23","offset":67782,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:53:58.623+03:00","_raw":"10.06.2022 06:53:58.623 [WARN] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 warn metric says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"26","offset":67834,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:53:58.622+03:00","_raw":"10.06.2022 06:53:58.622 [INFO] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 info daily says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"1","offset":67810,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:53:58.622+03:00","_raw":"10.06.2022 06:53:58.622 [INFO] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 info metric says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"12","offset":68069,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:53:58.622+03:00","_raw":"10.06.2022 06:53:58.622 [WARN] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 warn audit says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"23","offset":67781,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:53:58.621+03:00","_raw":"10.06.2022 06:53:58.621 [INFO] com.teragrep.jla_02.Log4j2 [instanceId=01, thread=Thread-0, userId=, sessionId=, requestId=, SUBJECT=, VERB=, OBJECT=, OUTCOME=, message=Log4j2 info audit says hi!]","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"18","offset":67727,"origin":"iris-ls1.qa.teragrep.org"},{"_time":"2022-06-10T06:53:58.252+03:00","_raw":"[ERROR] 2022-06-10 06:53:58,252 com.teragrep.jla_02.Log4j Log - Log4j error says hi!","index":"jla_02","sourcetype":"log:jla_02:0","host":"iris-ls1.qa.teragrep.org","source":"imrelp:iris-fwd1.qa.teragrep.org:172.17.254.29","partition":"24","offset":68062,"origin":"iris-ls1.qa.teragrep.org"}],"ID":u5408: ,"datalength":25000}

"draw":1 does not match server "ID":0