# How to Convert array fields from beats to compatible array fields of Splunk HEC input viai Logstash

**URL:** <https://discuss.elastic.co/t/how-to-convert-array-fields-from-beats-to-compatible-array-fields-of-splunk-hec-input-viai-logstash/284683>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [September 21, 2021, 6:33am UTC](https://discuss.elastic.co/t/how-to-convert-array-fields-from-beats-to-compatible-array-fields-of-splunk-hec-input-viai-logstash/284683 "2021-09-21T06:33:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sibiv196](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@sibiv196](https://discuss.elastic.co/u/sibiv196)\
**Post date:** [September 21, 2021, 6:33am UTC](https://discuss.elastic.co/t/how-to-convert-array-fields-from-beats-to-compatible-array-fields-of-splunk-hec-input-viai-logstash/284683/1 "2021-09-21T06:33:46Z")

</div>

This is the logstash output to splunk HEC input event endpoint.

"fields":"{\"netcool\_fields\_community\":\"AGENT\_HB\",\"metric\_name:status\":1}"}"

I am not sure what is failing . Events are not getting indexed to metric index.

---

<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:** [October 19, 2021, 8:34am UTC](https://discuss.elastic.co/t/how-to-convert-array-fields-from-beats-to-compatible-array-fields-of-splunk-hec-input-viai-logstash/284683/2 "2021-10-19T08:34:29Z")

</div>

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