# Install Filebeat on Solaris 10

**URL:** <https://discuss.elastic.co/t/install-filebeat-on-solaris-10/106085>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 1, 2017, 6:51pm UTC](https://discuss.elastic.co/t/install-filebeat-on-solaris-10/106085 "2017-11-01T18:51:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![wako85](https://avatars.discourse-cdn.com/v4/letter/w/8e8cbc/32.png) [@wako85](https://discuss.elastic.co/u/wako85)\
**Post date:** [November 1, 2017, 6:51pm UTC](https://discuss.elastic.co/t/install-filebeat-on-solaris-10/106085/1 "2017-11-01T18:51:55Z")

</div>

Hello,

Has anyone been able to install filebeat on solaris10 and 11?  
Kindly share how this has been done please

Thanks,

Wako

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [November 1, 2017, 7:12pm UTC](https://discuss.elastic.co/t/install-filebeat-on-solaris-10/106085/2 "2017-11-01T19:12:28Z")

</div>

Filebeat should work on Solaris 11 on amd64 (not sparc) if you build it yourself. Go only has support for Solaris11/amd64.

If you have access to a Docker you can easily cross-compile a Solaris binary that you can then copy over to your Solaris machine. Otherwise you can install Go on Solaris and build from there.

```auto
$ docker run -it --rm -v `pwd`/solaris:/solaris golang:1.8.3 /bin/bash
root@0be2e1a56cb4:/go$ go get github.com/elastic/beats
package github.com/elastic/beats: no buildable Go source files in /go/src/github.com/elastic/beats
root@0be2e1a56cb4:/go$ cd src/github.com/elastic/beats/filebeat/
root@0be2e1a56cb4:/go/src/github.com/elastic/beats/filebeat$ git checkout v5.6.3
Note: checking out 'v5.6.3'.
HEAD is now at c343370... Bump version to 5.6.3 in the 5.6 branch
root@0be2e1a56cb4:/go/src/github.com/elastic/beats/filebeat$ GOOS=solaris GOARCH=amd64 go build
root@0be2e1a56cb4:/go/src/github.com/elastic/beats/filebeat$ cp filebeat /solaris/
root@0be2e1a56cb4:/go/src/github.com/elastic/beats/filebeat$ exit
exit
macbook15:tmp akroh$ file solaris/filebeat 
solaris/filebeat: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/amd64/ld.so.1, not stripped

```

---

<div class="post-metadata">

**Author:** ![wako85](https://avatars.discourse-cdn.com/v4/letter/w/8e8cbc/32.png) [@wako85](https://discuss.elastic.co/u/wako85)\
**Post date:** [November 1, 2017, 7:52pm UTC](https://discuss.elastic.co/t/install-filebeat-on-solaris-10/106085/3 "2017-11-01T19:52:45Z")

</div>

Thank you Andrew. Unfornunately I need it for Solaris Sparc

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [November 1, 2017, 7:55pm UTC](https://discuss.elastic.co/t/install-filebeat-on-solaris-10/106085/4 "2017-11-01T19:55:40Z")

</div>

You may be able to use [gccgo](https://golang.org/doc/install/gccgo) to build for Solaris/sparc (including Solaris 10). I personally haven't tried this method.

> **[gccgo gcc5.1.0 Cross compile for Sparc solaris 10 on Fedora20 X86\_64](https://ggolang.blogspot.com/2015/05/gccgo-gcc510-cross-compile-for-sparc.html)**
>
> gcc5.1.0 Cross compile for Sparc solaris 10 The purpose of this procedure is to demonstrate the cross compilation of gcc5.1.0 on a Fedora...

---

<div class="post-metadata">

**Author:** ![wako85](https://avatars.discourse-cdn.com/v4/letter/w/8e8cbc/32.png) [@wako85](https://discuss.elastic.co/u/wako85)\
**Post date:** [November 1, 2017, 8:07pm UTC](https://discuss.elastic.co/t/install-filebeat-on-solaris-10/106085/5 "2017-11-01T20:07:05Z")

</div>

Thanks so much I will try this and share if it works

In case it does not will it be possible to transfer the log files (using rsync) to a linux box on which I have filebeat running ?

Ill need Solaris OS logs : /var/adm/messages and Oracle database alert logs

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [November 1, 2017, 8:16pm UTC](https://discuss.elastic.co/t/install-filebeat-on-solaris-10/106085/6 "2017-11-01T20:16:23Z")

</div>

Yeah, we usually recommend using syslog over [TCP](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-tcp.html) or [RELP](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-relp.html) to get logs off of machines that cannot natively run Filebeat.

---

<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:** [November 29, 2017, 8:16pm UTC](https://discuss.elastic.co/t/install-filebeat-on-solaris-10/106085/7 "2017-11-29T20:16:31Z")

</div>

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