Cannot start Filebeat

I'm following the Getting Started with Logstash tutorial ( and am having trouble running Filebeat.

My filebeat.yml file looks like this:

- type: log
    - "/Users/myusername/Documents/Elastic/logstash-6.5.4/logstash-tutorial.log"

    hosts: ["localhost:5044"]

I get an error when I run the following command:
sudo ./filebeat -e -c filebeat.yml -d "publish"

The error looks like this:

1970/01/01 00:00:00.000000 geolite.go:24: INFO GeoIP disabled: No paths were set under output.geoip.paths

fatal error: unexpected signal during runtime execution

[signal 0xa code=0x2 addr=0xf7c4f1c57c pc=0x93dd0]

goroutine 1 [running]:

runtime.throw(0x5d2100, 0x2a)

/usr/local/go/src/runtime/panic.go:527 +0x90 fp=0xc8200b2b58 sp=0xc8200b2b40


/usr/local/go/src/runtime/sigpanic_unix.go:12 +0x5a fp=0xc8200b2ba8 sp=0xc8200b2b58

sync.(*Pool).Get(0x850da0, 0x0, 0x0)

/usr/local/go/src/sync/pool.go:101 +0x40 fp=0xc8200b2bf8 sp=0xc8200b2ba8


/usr/local/go/src/fmt/print.go:133 +0x27 fp=0xc8200b2c38 sp=0xc8200b2bf8

fmt.Sprintf(0xc8200b2d30, 0x1b, 0xc8200b2fe0, 0x1, 0x1, 0x0, 0x0)

/usr/local/go/src/fmt/print.go:202 +0x2b fp=0xc8200b2c88 sp=0xc8200b2c38, 0x6, 0x531788, 0x5, 0x585f10, 0x16, 0xc8200b2fe0, 0x1, 0x1)

/go/src/ +0x164 fp=0xc8200b2d80 sp=0xc8200b2c88, 0x531788, 0x5, 0x585f10, 0x16, 0xc8200b2fe0, 0x1, 0x1)

/go/src/ +0x82 fp=0xc8200b2dd0 sp=0xc8200b2d80, 0x16, 0xc8200b2fe0, 0x1, 0x1)

/go/src/ +0x67 fp=0xc8200b2e18 sp=0xc8200b2dd0*logstash).init(0xc820108840, 0x0, 0x0, 0x0, 0x0, 0xc820117240, 0x1, 0x1, 0x0, 0x0, ...)

/go/src/ +0x372 fp=0xc8200b3028 sp=0xc8200b2e18, 0x0, 0x0, 0x0, 0x0, 0x0)

/go/src/ +0xa9 fp=0xc8200b3198 sp=0xc8200b3028*logstashOutputPlugin).NewOutput(0x876dc0, 0xc820120a00, 0x0, 0x0, 0x0, 0x0, 0x0)

<autogenerated>:27 +0xb9 fp=0xc8200b31d0 sp=0xc8200b3198, 0x8, 0xc82010c630, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)

/go/src/ +0x288 fp=0xc8200b34a0 sp=0xc8200b31d0*PublisherType).init(0xc820134100, 0x5452c0, 0x8, 0xc82010c630, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)

/go/src/ +0x287 fp=0xc8200b3bf0 sp=0xc8200b34a0, 0x8, 0xc82010c630, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)

/go/src/ +0x9a fp=0xc8200b3c88 sp=0xc8200b3bf0*Beat).LoadConfig(0xc82011c960)

/go/src/ +0x333 fp=0xc8200b3de0 sp=0xc8200b3c88, 0x8, 0x530308, 0x5, 0xc60580, 0xc820108500, 0xc820116a20)

/go/src/ +0x13d fp=0xc8200b3ee8 sp=0xc8200b3de0


/go/src/ +0x9d fp=0xc8200b3f40 sp=0xc8200b3ee8


/usr/local/go/src/runtime/proc.go:111 +0x2b0 fp=0xc8200b3f90 sp=0xc8200b3f40


/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200b3f98 sp=0xc8200b3f90

goroutine 17 [syscall, locked to thread]:


/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1

goroutine 5 [syscall]:


/usr/local/go/src/os/signal/signal_unix.go:22 +0x18

created by os/signal.init.1

/usr/local/go/src/os/signal/signal_unix.go:28 +0x37

The go runtime panics for some unknown reason.

Which filebeat version are you using?

Which OS?

Which Architecture?

I'm using filebeat version 1.12 and logstash version 6.5.4 on macOS High Sierra 10.13.6

Can you try to update filebeat to 6.5.4 as well. Version 1.1.2 is very old and end of live. The go runtime compiled into this version might not be compatible with your OS.

That fixed the issue. Thank you very much!

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