# Multiple Labels for same field

**URL:** https://discuss.elastic.co/t/multiple-labels-for-same-field/313358
**Category:** Logstash
**Created:** [August 31, 2022, 12:31pm UTC](https://discuss.elastic.co/t/multiple-labels-for-same-field/313358 "2022-08-31T12:31:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![saif.khan](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@saif.khan](https://discuss.elastic.co/u/saif.khan)
#### Post date: [August 31, 2022, 12:31pm UTC](https://discuss.elastic.co/t/multiple-labels-for-same-field/313358/1 "2022-08-31T12:31:45Z")

</div>

Hi,

I'm using SNMP-Logstash plugin to get data from SNMP enabled Network devices(PDUs),  
It works fine to an extent, The issues comes in for a field that has multiple values, example "IP Address " as I have 3 endpoint devices with 3 different IP's, so when I check under discover for the field `cpiPduIp` i find 3 labels for it, while as per my requirement all the ip's must come under one label as I'm getting through `prometheus using metricbeat`,  
I'm attaching the screenshots for both cases, It would be great if there's some way to merge them into one single label or anything I'm missing on please do let me know.

## METRICBEAT ![Screenshot (12)](https://us1.discourse-cdn.com/elastic/original/3X/1/0/109ed76fd08d1ff6617b5f8e3fd0bf3485932d7e.png)

- 
- 

SNMP\_LOGSTASH

 ![Screenshot (14)](https://us1.discourse-cdn.com/elastic/original/3X/6/9/69a9680a0057a00a683e0cd557b876fbc8b4ebb8.png)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [September 28, 2022, 12:32pm UTC](https://discuss.elastic.co/t/multiple-labels-for-same-field/313358/2 "2022-09-28T12:32:08Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
