# Message looks like it is binary when using inputs.d

**URL:** https://discuss.elastic.co/t/message-looks-like-it-is-binary-when-using-inputs-d/261559
**Category:** Beats
**Tags:** filebeat
**Created:** [January 19, 2021, 2:44pm UTC](https://discuss.elastic.co/t/message-looks-like-it-is-binary-when-using-inputs-d/261559 "2021-01-19T14:44:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![gungazoo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gungazoo/32/19972_2.png) [@gungazoo](https://discuss.elastic.co/u/gungazoo)
#### Post date: [January 19, 2021, 2:44pm UTC](https://discuss.elastic.co/t/message-looks-like-it-is-binary-when-using-inputs-d/261559/1 "2021-01-19T14:44:07Z")

</div>

If I have filebeat.yml file follow a file and send it to Elasticsearch it seems to work fine but if I use the inputs.d format then the message looks like it is binary. It could just be a font problem. I don't understand what is different.

I have this in the file in inputs.d directory:

```auto
    - type: log
       enabled: true
      paths:
        - /logdata/filebeat/esx/host.example.com/*
      fields_under_root: true
      fields:
        noodle_hostname: host.example.com
        noodle_site: site
      exclude_files: ['.gz$']

```

but in Elasticsearch it looks like this:

 ![Screen Shot 2021-01-19 at 9.30.01 AM](https://us1.discourse-cdn.com/elastic/original/3X/4/2/42dca87af17fccf68ff04494dc64167df4e8a26a.png)

Thanks for any help.

Peter

---

<div class="post-metadata">

### Author: ![gungazoo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gungazoo/32/19972_2.png) [@gungazoo](https://discuss.elastic.co/u/gungazoo)
#### Post date: [January 19, 2021, 4:57pm UTC](https://discuss.elastic.co/t/message-looks-like-it-is-binary-when-using-inputs-d/261559/3 "2021-01-19T16:57:44Z")

</div>

Never mind -- I was being stupid.

---

<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: [February 16, 2021, 6:58pm UTC](https://discuss.elastic.co/t/message-looks-like-it-is-binary-when-using-inputs-d/261559/4 "2021-02-16T18:58:18Z")

</div>

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