# Empty message with exec input plugin

**URL:** <https://discuss.elastic.co/t/empty-message-with-exec-input-plugin/172992>\
**Category:** Logstash\
**Created:** [March 19, 2019, 2:12pm UTC](https://discuss.elastic.co/t/empty-message-with-exec-input-plugin/172992 "2019-03-19T14:12:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sab](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@sab](https://discuss.elastic.co/u/sab)\
**Post date:** [March 19, 2019, 2:12pm UTC](https://discuss.elastic.co/t/empty-message-with-exec-input-plugin/172992/1 "2019-03-19T14:12:39Z")

</div>

The ls command returns empty message.

> ```
> input {
> exec {
> command => "ls -l path/to/a/specific/file"
> interval => 30
> }
> }
> 
> ```

filter :

> ```
> grok {
> match => { 
> "message" => "^%{DATA:permission}\s+%{NUMBER:links_nb}\s+%{DATA:owner_name}\s+%{DATA:owner_group}\s+%{NUMBER:filesize_o}.*"
> }
> }
> 
> ```

output :

> ```
> file {
> codec => rubydebug
> }
> 
> ```

Tested with :  
•Plugin version: v3.1.4  
•Plugin version: v3.3.2

---

<div class="post-metadata">

**Author:** ![sab](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@sab](https://discuss.elastic.co/u/sab)\
**Post date:** [March 20, 2019, 9:15am UTC](https://discuss.elastic.co/t/empty-message-with-exec-input-plugin/172992/2 "2019-03-20T09:15:14Z")

</div>

Anybody has an idea about this issue ?

---

<div class="post-metadata">

**Author:** ![sab](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@sab](https://discuss.elastic.co/u/sab)\
**Post date:** [March 25, 2019, 8:32am UTC](https://discuss.elastic.co/t/empty-message-with-exec-input-plugin/172992/3 "2019-03-25T08:32:19Z")

</div>

there are several posts here with the same issue : no solution given.

any clue ?

---

<div class="post-metadata">

**Author:** ![sab](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@sab](https://discuss.elastic.co/u/sab)\
**Post date:** [March 29, 2019, 11:30am UTC](https://discuss.elastic.co/t/empty-message-with-exec-input-plugin/172992/4 "2019-03-29T11:30:11Z")

</div>

any solution ?

---

<div class="post-metadata">

**Author:** ![sab](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@sab](https://discuss.elastic.co/u/sab)\
**Post date:** [April 9, 2019, 9:53am UTC](https://discuss.elastic.co/t/empty-message-with-exec-input-plugin/172992/5 "2019-04-09T09:53:58Z")

</div>

any idea ?

---

<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 7, 2019, 9:54am UTC](https://discuss.elastic.co/t/empty-message-with-exec-input-plugin/172992/6 "2019-05-07T09:54:00Z")

</div>

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