# Inserting Custom Logs Into Siem

**URL:** <https://discuss.elastic.co/t/inserting-custom-logs-into-siem/190093>\
**Category:** SIEM\
**Created:** [July 11, 2019, 6:44pm UTC](https://discuss.elastic.co/t/inserting-custom-logs-into-siem/190093 "2019-07-11T18:44:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrTrav](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@MrTrav](https://discuss.elastic.co/u/MrTrav)\
**Post date:** [July 11, 2019, 6:44pm UTC](https://discuss.elastic.co/t/inserting-custom-logs-into-siem/190093/1 "2019-07-11T18:44:10Z")

</div>

I am trying to understand the fields necessary to populate custom logs into the SIEM. I have the ability to use ECS and get logs to show up, however the hosts they are coming from are not populating the "Hosts" section. Is there a log format or field within ECS schema that is needed to get the new host to appear?

---

<div class="post-metadata">

**Author:** ![cwurm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cwurm/32/34882_2.png) [@cwurm](https://discuss.elastic.co/u/cwurm)\
**Post date:** [July 15, 2019, 10:10am UTC](https://discuss.elastic.co/t/inserting-custom-logs-into-siem/190093/2 "2019-07-15T10:10:52Z")

</div>

Hi @MrTrav, hosts are identified by the `host.name` field in the documents. This field is filled by Beats version 7.0 and above with the hostname by default. Is it filled in your documents?

---

<div class="post-metadata">

**Author:** ![MrTrav](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@MrTrav](https://discuss.elastic.co/u/MrTrav)\
**Post date:** [July 19, 2019, 6:01pm UTC](https://discuss.elastic.co/t/inserting-custom-logs-into-siem/190093/3 "2019-07-19T18:01:47Z")

</div>

Yes, I have this field populated but I am still not seeing any hosts get populated from our custom logs.

---

<div class="post-metadata">

**Author:** ![cwurm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cwurm/32/34882_2.png) [@cwurm](https://discuss.elastic.co/u/cwurm)\
**Post date:** [July 23, 2019, 11:00am UTC](https://discuss.elastic.co/t/inserting-custom-logs-into-siem/190093/4 "2019-07-23T11:00:12Z")

</div>

@MrTrav Can you post an example document for a host that is not showing up? You can redact any sensitive data e.g. IPs.

---

<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:** [August 20, 2019, 11:00am UTC](https://discuss.elastic.co/t/inserting-custom-logs-into-siem/190093/5 "2019-08-20T11:00:22Z")

</div>

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