---
title: "Enable HostEndpoint reporting in flow logs"
description: "Enable hostendpoint reporting in flow logs."
product: "Calico Enterprise"
version: "3.21"
section: "Observability"
canonical_url: "https://docs.tigera.io/calico-enterprise/3.21/observability/elastic/flow/hep"
---

# Enable HostEndpoint reporting in flow logs

## Big picture

Enable Calico Enterprise flow logs to report HostEndpoint information.

## Value

Get visibility into the network activity at the HostEndpoint level using Calico Enterprise flow logs.

## Before you begin

**Limitations**

- HostEndpoint reporting is only supported on Kubernetes nodes.
- Flow logs on ApplyOnForward policies are currently not supported. As a result, a policy blocking traffic at the host level from forwarding to a workload endpoint would not result in a flow log from the host endpoint.

## How to

### Enable HostEndpoint reporting

To enable reporting HostEndpoint metadata in flow logs, use the following command:

```text
 kubectl patch felixconfiguration default -p '{"spec":{"flowLogsEnableHostEndpoint":true}}'
```

## Additional resources

- [Protect Kubernetes nodes](https://docs.tigera.io/calico-enterprise/3.21/network-policy/hosts/kubernetes-nodes.md)
