You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Qian Yu (Jira)" <ji...@apache.org> on 2019/09/09 01:22:00 UTC

[jira] [Commented] (AIRFLOW-4052) To allow filtering using "event" and "owner" in "Log" view

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

Qian Yu commented on AIRFLOW-4052:
----------------------------------

The "Fix Version" here is shown as 1.10.3, but clearly this is still an issue as of 1.10.5. The searchable columns in LogModelView are limited to the following in 1.10.5.

Is this only going to be fixed in the next major release?

 

1.10.5: 
{code:python}
airflow/www/views.py:

class LogModelView(ModelViewOnly):
...
    column_filters = ('dag_id', 'task_id', 'execution_date', 'extra')



airflow/www_rbac/views.py:

class LogModelView(AirflowModelView):
...
    list_columns = ['id', 'dttm', 'dag_id', 'task_id', 'event', 'execution_date',
                    'owner', 'extra']
    search_columns = ['dag_id', 'task_id', 'execution_date', 'extra']

 {code}

> To allow filtering using "event" and "owner" in "Log" view
> ----------------------------------------------------------
>
>                 Key: AIRFLOW-4052
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4052
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: ui
>    Affects Versions: 1.10.2
>            Reporter: Xiaodong DENG
>            Assignee: Xiaodong DENG
>            Priority: Minor
>              Labels: webapp
>             Fix For: 1.10.3
>
>
> In the RBAC UI, users can check Logs. But they can only use "dag id", "task id", "execution date", or "extra" to filter, while filtering using "event" and "owner" will be very useful (to allow users to check specific events happened, or check what a specific user did).



--
This message was sent by Atlassian Jira
(v8.3.2#803003)