# Elastic 6.6 Objects in Arrays

**URL:** <https://discuss.elastic.co/t/elastic-6-6-objects-in-arrays/168102>\
**Category:** Elasticsearch\
**Created:** [February 12, 2019, 7:38pm UTC](https://discuss.elastic.co/t/elastic-6-6-objects-in-arrays/168102 "2019-02-12T19:38:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rklingaman](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@rklingaman](https://discuss.elastic.co/u/rklingaman)\
**Post date:** [February 12, 2019, 7:38pm UTC](https://discuss.elastic.co/t/elastic-6-6-objects-in-arrays/168102/1 "2019-02-12T19:38:31Z")

</div>

I've started pulling in Okta System log into ElasticSearch using this plugin:

> **[SecurityRiskAdvisors/logstash-input-okta\_system\_log](https://github.com/SecurityRiskAdvisors/logstash-input-okta_system_log)**
>
> Create Logstash events from the Okta API! Contribute to SecurityRiskAdvisors/logstash-input-okta\_system\_log development by creating an account on GitHub.

I have all that working and now I've been creating a template so that fields are getting formatted correctly. What I'm struggling with is how to handle this field called "target":

{  
"type": "AppInstance",  
"id": "1111",  
"displayName": "webapp",  
"alternateId": "webapp",  
"detailEntry": {  
"signOnModeType": "SAML\_2\_0"  
}  
},  
{  
"type": "AppUser",  
"id": "0000",  
"displayName": "Full Name",  
"alternateId": "email",  
"detailEntry": null  
}

---

<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:** [March 12, 2019, 7:38pm UTC](https://discuss.elastic.co/t/elastic-6-6-objects-in-arrays/168102/2 "2019-03-12T19:38:31Z")

</div>

Closed on March 12, 2019, 7:38pm UTC

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