Graylog ESXi Setup Help

(Freebird317) #1

I am not able to get ESXi and graylog to play with each other. I had them talking when I was testing graylog using the OVA. But I have since installed Ubuntu 14.07 and setup graylog following the doc on graylogs site. I am to read windows events using sidecar but nothing from ESXi. I am using vmware content pack which when applied it created an input called Logconverter Non-RFC Compliant -> GELF on port 12204. I have setup ESXi to forward to port 1514 (firewall is opened for port). Do I need to install logstash? How do I do that if so?

(Jan Doberstein) #3

your issue is something complete different from the issue @freebird317 is talking off … please open a new thread if you have any problems setting up the OVA and do not capture other threads.

(Jan Doberstein) #4

I did not know what the content pack does - you did not provide a link to your used one.

But if you have one input on port 12204 it does not make sense to forward your logs to port 1514 where nothing is listening. right?

(Freebird317) #5

Just to make it simple I have removed all imputs execpt my beats for windows. This is the content pack I am using I have “applied the content” and it created one golbal input called “Logconverter Non-RFC Compliant -> GELF” on port I then created a GELF output on

(Jan Doberstein) #6


the content pack needs logstash running for parsing the messages into GELF - so that might be not the best choice if you did not have that running.

(Freebird317) #7

What is the best way to get ESXi logs in to graylog?

(bubba198) #8

Configure ESXi syslog

(Yuri Suslov) #9

First I would suggest to move ESXi logs from /tmp/scratch to permanent storage.

Then disable firewall on ESXi and see if it hepls

[root@SA-ESXI1:~] esxcli network firewall get
Default Action: DROP
Enabled: true
Loaded: true
[root@SA-ESXI1:~] esxcli network firewall set -e=false
[root@SA-ESXI1:~] esxcli network firewall refresh
[root@SA-ESXI1:~] esxcli network firewall get
Default Action: DROP
Enabled: false
Loaded: true

Finally I would recommend logstash to filter out events because ESXi sends a lot of useless info


syslog {
port => 1514
type => “esxi”


if [type] == “esxi” {

    if [program] in ["Rhttpproxy","Hostd","Vpxa","vmkernel"] { drop { } }



if [type] == “esxi” {
gelf { host => “” port => 12223 }

In this case you do not need any content packs, just create simple GELP UDP input

(system) closed #10

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