# Duplicated data into field from xpath

**URL:** <https://discuss.elastic.co/t/duplicated-data-into-field-from-xpath/81537>\
**Category:** Logstash\
**Created:** [April 6, 2017, 9:04pm UTC](https://discuss.elastic.co/t/duplicated-data-into-field-from-xpath/81537 "2017-04-06T21:04:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![daian.martinho](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@daian.martinho](https://discuss.elastic.co/u/daian.martinho)\
**Post date:** [April 6, 2017, 9:04pm UTC](https://discuss.elastic.co/t/duplicated-data-into-field-from-xpath/81537/1 "2017-04-06T21:04:01Z")

</div>

i'm getting duplicated data at only one field. All others are ok.

xml is like:

```
    <ReportItem port="443" svc_name="www" protocol="tcp" severity="2" pluginID="94437" pluginName="SSL 64-bit Block Size Cipher Suites Supported (SWEET32)" pluginFamily="General">
    <bid>92630</bid>
    <bid>92631</bid>
    <cve>CVE-2016-2183</cve>
    </ReportItem>

```

filter like:

```
xpath =>[                                  
      "/ReportItem/@pluginName","report_item_plugin_name"
]

```

Result

```
report_item_plugin_name:SSL 64-bit Block Size Cipher Suites Supported (SWEET32), SSL 64-bit Block Size Cipher Suites Supported (SWEET32)

```

any idea? tnks

---

<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:** [May 4, 2017, 9:04pm UTC](https://discuss.elastic.co/t/duplicated-data-into-field-from-xpath/81537/2 "2017-05-04T21:04:09Z")

</div>

Closed on May 4, 2017, 9:04pm UTC

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