> For the complete documentation index, see [llms.txt](https://docs.apica.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apica.io/flow/list-of-forwarders/splunk-forwarding/splunk-http-event-collector-hec-forwarder/metric-indexes.md).

# Metric Indexes

Apica supports forwarding to splunk metrics indexes.

Use this option to forward structured **metric data** into Splunk's **metrics index**.

#### Supported Formats:

* Traditional Splunk metric events (single metric per event)
* Enhanced format (multiple metrics per event)

### Configuration Example:

| Field        | Value                        |
| ------------ | ---------------------------- |
| **Host**     | `https://splunk.company.com` |
| **Port**     | `8088`                       |
| **User**     | `admin`                      |
| **Password** | `<your-hec-token>`           |
| **Type**     | `_metric`                    |

> 📌 Ensure the Splunk index receiving these events is a **metrics** index.

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2Fl48oqxbuHR5svHmMmcsP%2Fimage.png?alt=media&amp;token=b59fb365-a9f1-40c6-bc7e-b3dbc4543d69" alt=""><figcaption><p>Configuration example for an Metric Index Forwarder</p></figcaption></figure>
