---
title: kapacitor flux task log
description: The kapacitor flux task log command and subcommands view and manage Kapacitor Flux task logs.
url: https://docs.influxdata.com/kapacitor/v1/reference/cli/kapacitor/flux/task/log/
estimated_tokens: 278
product: Kapacitor
version: v1
publisher: InfluxData
canonical: https://docs.influxdata.com/kapacitor/v1/reference/cli/kapacitor/flux/task/log/
date: '2023-10-03T10:49:57-06:00'
lastmod: '2023-10-03T10:49:57-06:00'
---

The `kapacitor flux task log` command and subcommands view and manage Kapacitor
Flux task logs.

## Usage

```sh
kapacitor flux task log [subcommand] [flags]
```

## Subcommands

|                           Subcommand                            |               Description                |
|-----------------------------------------------------------------|------------------------------------------|
|                             help, h                             |List commands or return help for a command|
|[list](/kapacitor/v1/reference/cli/kapacitor/flux/task/log/list/)|        List logs for a Flux tasks        |

## Flags

|Flag|        |   Description   |
|----|--------|-----------------|
|`-h`|`--help`|Show command help|

#### Related

* [View Kapacitor Flux task logs](/kapacitor/v1/working/flux/manage/view-task-logs/)
| Subcommand | Description |
| --- | --- |
| Subcommand | Description |
| help, h | List commands or return help for a command |
| list | List logs for a Flux tasks |

| Flag |  | Description |
| --- | --- | --- |
| Flag |  | Description |
| -h | --help | Show command help |
