# How to read kernel log in logstash?

**URL:** https://discuss.elastic.co/t/how-to-read-kernel-log-in-logstash/179177
**Category:** Logstash
**Created:** [May 1, 2019, 7:19am UTC](https://discuss.elastic.co/t/how-to-read-kernel-log-in-logstash/179177 "2019-05-01T07:19:11Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![talbehat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/talbehat/32/84367_2.png) [@talbehat](https://discuss.elastic.co/u/talbehat)
#### Post date: [May 1, 2019, 7:19am UTC](https://discuss.elastic.co/t/how-to-read-kernel-log-in-logstash/179177/1 "2019-05-01T07:19:11Z")

</div>

Please help me to understand that how to read kernel logs using logstash in version 5.0

is there any input plugins ?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 1, 2019, 7:29am UTC](https://discuss.elastic.co/t/how-to-read-kernel-log-in-logstash/179177/2 "2019-05-01T07:29:55Z")

</div>

5.0 is super old, you should really be using a newer version.

That aside, are you having problems doing this?

---

<div class="post-metadata">

### Author: ![talbehat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/talbehat/32/84367_2.png) [@talbehat](https://discuss.elastic.co/u/talbehat)
#### Post date: [May 1, 2019, 7:39am UTC](https://discuss.elastic.co/t/how-to-read-kernel-log-in-logstash/179177/3 "2019-05-01T07:39:56Z")

</div>

@ [warkolm](https://discuss.elastic.co/u/warkolm), no till now i have not run new version of logstash.

Please tell me for above query

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 1, 2019, 7:41am UTC](https://discuss.elastic.co/t/how-to-read-kernel-log-in-logstash/179177/4 "2019-05-01T07:41:55Z")

</div>

You should be able to use the file input for this.

---

<div class="post-metadata">

### Author: ![talbehat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/talbehat/32/84367_2.png) [@talbehat](https://discuss.elastic.co/u/talbehat)
#### Post date: [May 1, 2019, 7:49am UTC](https://discuss.elastic.co/t/how-to-read-kernel-log-in-logstash/179177/5 "2019-05-01T07:49:49Z")

</div>

what about syslog input plugins ?

---

<div class="post-metadata">

### Author: ![talbehat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/talbehat/32/84367_2.png) [@talbehat](https://discuss.elastic.co/u/talbehat)
#### Post date: [May 3, 2019, 6:39am UTC](https://discuss.elastic.co/t/how-to-read-kernel-log-in-logstash/179177/6 "2019-05-03T06:39:39Z")

</div>

Please reply?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 3, 2019, 6:45am UTC](https://discuss.elastic.co/t/how-to-read-kernel-log-in-logstash/179177/7 "2019-05-03T06:45:24Z")

</div>

Have you checked the documentation for the plugin you're asking about? That's the best way to be sure.

---

<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 31, 2019, 6:45am UTC](https://discuss.elastic.co/t/how-to-read-kernel-log-in-logstash/179177/8 "2019-05-31T06:45:25Z")

</div>

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