[
https://issues.apache.org/jira/browse/HDDS-10697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17884536#comment-17884536
]
Abhishek Pal edited comment on HDDS-10697 at 9/25/24 3:01 PM:
--------------------------------------------------------------
Hi [~smeng], thanks for this idea.
As a part of this I have a few questions/inputs:
- Log files that are generated can be huge. Do we need to show the complete
log file or giving the last 30mins logs would be something which is more
feasible.
-- If users require older logs we can have pagination/filter based on a
timestamp range like last 30mins/1hr/custom time range
-- We can also add a search feature to allow searching for certain terms and
show the results for lesser overhead instead of giving the whole file to the
user to search - which can considerably slow down the browser as well as
overall performance if the log file size gets larger.
- Do we add a file type browser for this in order to list all the rotated log
files as well? Ex: ozone-recon.log, ozone-recon.log.1... and the user can
select any file to read from?
- This API would be Admin only as other Recon APIs? Or should we allow users
to be able to invoke this API?
- Another alternative to allow *LIVE* updates would be using something like
TCP to open a connection and send data as the updates happen to the logfile.
-- This would be a bit more complex and require an overhead in deciding a
suitable port to use (probably make it configurable)
-- Initial overhead to establish connection would take some time, but would be
efficient once connection is established specially in case of large log files.
was (Author: JIRAUSER291782):
Hi [~smeng], thanks for this idea.
As a part of this I have a few questions/inputs:
- Log files that are generated can be huge. Do we need to show the complete log
file or giving the last 30mins logs would be something which is more feasible.
-- If users require older logs we can have pagination/filter based on a
timestamp range like last 30mins/1hr/custom time range
-- We can also add a search feature to allow searching for certain terms and
show the results for lesser overhead instead of giving the whole file to the
user to search - which can considerably slow down the browser as well as
overall performance if the log file size gets larger.
- Do we add a file type browser for this in order to list all the rotated log
files as well? Ex: ozone-recon.log, ozone-recon.log.1... and the user can
select any file to read from?
- This API would be Admin only as other Recon APIs? Or should we allow users to
be able to invoke this API?
> Recon: Add a panel to stream Recon logs
> ---------------------------------------
>
> Key: HDDS-10697
> URL: https://issues.apache.org/jira/browse/HDDS-10697
> Project: Apache Ozone
> Issue Type: Wish
> Reporter: Siyao Meng
> Assignee: Abhishek Pal
> Priority: Major
>
> It would be nice to have a feature to be able to see Recon logs LIVE from
> Recon Web UI itself.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]