# Anyone get logstash-input-xlsx or logstash-codec-excel work?

**URL:** <https://discuss.elastic.co/t/anyone-get-logstash-input-xlsx-or-logstash-codec-excel-work/55448>\
**Category:** Logstash\
**Created:** [July 13, 2016, 10:03pm UTC](https://discuss.elastic.co/t/anyone-get-logstash-input-xlsx-or-logstash-codec-excel-work/55448 "2016-07-13T22:03:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zotsing](https://avatars.discourse-cdn.com/v4/letter/z/5fc32e/32.png) [@zotsing](https://discuss.elastic.co/u/zotsing)\
**Post date:** [July 13, 2016, 10:03pm UTC](https://discuss.elastic.co/t/anyone-get-logstash-input-xlsx-or-logstash-codec-excel-work/55448/1 "2016-07-13T22:03:45Z")

</div>

Tried for quite a while, but keep getting the following message, hope someone can help me to get it work:

Message:  
failed to open #\<FileWatch::WatchedFile:0x904c609 @filestat=#\<File::Stat dev=0xca01, ino=1192654, mode=0100664, nlink=1, uid=500, gid=500, rdev=0x0, size=4520078, blksize=4096, blocks=8832, atime=2016-07-13 20:53:11 UTC, mtime=2016-07-13 20:53:13 UTC, ctime=2016-07-13 20:53:13 UTC\>, @state\_history=[:watched], @ignore\_older=nil, @close\_older=nil, @initial=true, @accessed\_at=1468446713.491, @path="/home/ec2-user/elasticsearch/IFS\_2009.xlsx", @state=:active, @inode=["1192654", 0, 51713], @bytes\_read=0, @delimiter=nil\>: can't convert FileWatch::WatchedFile into String {:level=\>:warn}

my conf is as below:  
input {  
xlsx {  
type =\> "xlsx"  
path =\> "/home/ec2-user/elasticsearch/IFS\_2009.xlsx"  
start\_position =\> "beginning"  
stat\_interval =\> 100  
codec =\> "excel"  
sincedb\_path =\> "/home/ec2-user/elasticsearch/.sincedb"  
}  
}

output {  
stdout {  
codec =\> rubydebug  
}  
}

Any suggestion is deeply appreciated.

---

<div class="post-metadata">

**Author:** ![Gurveer\_Singh](https://avatars.discourse-cdn.com/v4/letter/g/f6c823/32.png) [@Gurveer\_Singh](https://discuss.elastic.co/u/Gurveer_Singh)\
**Post date:** [February 22, 2017, 12:03pm UTC](https://discuss.elastic.co/t/anyone-get-logstash-input-xlsx-or-logstash-codec-excel-work/55448/2 "2017-02-22T12:03:00Z")

</div>

I am also facing same issue with logstash plugin. Have you managed to import excel file?

---

<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:** [July 6, 2017, 4:28am UTC](https://discuss.elastic.co/t/anyone-get-logstash-input-xlsx-or-logstash-codec-excel-work/55448/3 "2017-07-06T04:28:21Z")

</div>


