You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Piotr Godek (JIRA)" <ji...@apache.org> on 2015/09/23 21:06:04 UTC

[jira] [Comment Edited] (FLINK-2732) Add access to the TaskManagers' log file and out file in the web dashboard.

    [ https://issues.apache.org/jira/browse/FLINK-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14905046#comment-14905046 ] 

Piotr Godek edited comment on FLINK-2732 at 9/23/15 7:05 PM:
-------------------------------------------------------------

great.

Here's what I propose in terms of request:
- route: 
/logs/taskmanagers/:taskmanagerid
- params:
from: starting timestamp
to: ending timestamp
limit: limit results nr

- order: timestamp DESC
- without params, return an arbitrary number of most recent log messages
- with limit only, return the most recent ones limited to 'limit'
- from < timestamp <= to
- with 'to' omitted, return from 'from' to the most recent

response:
{code}
[
  { 
     message: log message,
     level: log message level,
     timestamp: unix timestamp
  },
  {
    ...
  },
...
]
{code}

I could parse the log lines but using the proposed way we're independent of the log format.

What do you think?



was (Author: iampeter):
great.

Here's what I propose in terms of request:
- route: 
/logs/taskmanagers/:taskmanagerid
- params:
from: starting timestamp
to: ending timestamp
limit: limit results nr

- order: timestamp DESC
- without params, return an arbitrary number of most recent log messages
- with limit only, return the most recent ones limited to 'limit'
- from < timestamp <= to
- with 'to' omitted, return from 'from' to the most recent

response:
[
  { 
     message: log message
     level: log message level
     timestamp: unix timestamp 
  },
  {
    ...
  },
...
]

I could parse the log lines but using the proposed way we're independent of the log format.

What do you think?


> Add access to the TaskManagers' log file and out file in the web dashboard.
> ---------------------------------------------------------------------------
>
>                 Key: FLINK-2732
>                 URL: https://issues.apache.org/jira/browse/FLINK-2732
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Webfrontend
>    Affects Versions: 0.10
>            Reporter: Stephan Ewen
>             Fix For: 0.10
>
>
> Add access to the TaskManagers' log file and out file in the web dashboard.
> This needs addition on the server side, as the log files need to be transferred   to the JobManager via the blob server.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)