Metricbeat for Solaris x86

Hey guys,

Was just curious if it was possible to successfully run Metricbeat on Solaris x86 or if that was going to be a significant effort.

I was able to build Filebeat from source for Solaris 11.3 (x86) just fine, but Metricbeat gives me a "Metrics not implemented for this OS." warning:

(I know the directory says linux but I rebuilt the binary)

2019-09-17T20:18:01.811Z        INFO    [beat]  instance/beat.go:902    Beat info       {"system_info": {"beat": {"path": {"config": "/export/home/test/metricbeat-7.3.1-linux-x86_64", "data": "/export/home/test/metricbeat-7.3.1-linux-x86_64/data", "home": "/export/home/test/metricbeat-7.3.1-linux-x86_64", "logs": "/export/home/test/metricbeat-7.3.1-linux-x86_64/logs"}, "type": "metricbeat", "uuid": "698709e3-1935-469d-9b9d-5610dc20c923"}}}
2019-09-17T20:18:01.815Z        INFO    [beat]  instance/beat.go:911    Build info      {"system_info": {"build": {"commit": "unknown", "libbeat": "7.3.1", "time": "1754-08-30T22:43:41.128Z", "version": "7.3.1"}}}
2019-09-17T20:18:01.815Z        INFO    [beat]  instance/beat.go:914    Go runtime info {"system_info": {"go": {"os":"solaris","arch":"amd64","max_procs":1,"version":"go1.12.9"}}}
2019-09-17T20:18:01.815Z        INFO    instance/beat.go:292    Setup Beat: metricbeat; Version: 7.3.1
2019-09-17T20:18:01.815Z        WARN    instance/metrics_other.go:29    Metrics not implemented for this OS.
2019-09-17T20:18:01.816Z        INFO    [index-management]      idxmgmt/std.go:178      Set output.elasticsearch.index to 'metricbeat-7.3.1' as ILM is enabled.
2019-09-17T20:18:01.817Z        INFO    elasticsearch/client.go:170     Elasticsearch url: http://192.168.56.107:9200
2019-09-17T20:18:01.817Z        INFO    [publisher]     pipeline/module.go:97   Beat name: solaris
2019-09-17T20:18:01.818Z        INFO    instance/beat.go:421    metricbeat start running.
2019-09-17T20:18:01.818Z        INFO    [monitoring]    log/log.go:118  Starting metrics logging every 30s
2019-09-17T20:18:01.818Z        INFO    cfgfile/reload.go:171   Config reloader started
2019-09-17T20:18:01.819Z        INFO    cfgfile/reload.go:226   Loading of config files completed.
2019-09-17T20:18:04.814Z        INFO    add_cloud_metadata/add_cloud_metadata.go:347    add_cloud_metadata: hosting provider type not detected.
2019-09-17T20:18:31.819Z        INFO    [monitoring]    log/log.go:145  Non-zero metrics in the last 30s        {"monitoring": {"metrics": {"beat":{"info":{"ephemeral_id":"1ca21870-7d14-49f7-a238-ef35540b127a","uptime":{"ms":30060}}},"libbeat":{"config":{"module":{"running":0},"reloads":1},"output":{"type":"elasticsearch"},"pipeline":{"clients":0,"events":{"active":0}}}}}}
2019-09-17T20:19:01.819Z        INFO    [monitoring]    log/log.go:145  Non-zero metrics in the last 30s        {"monitoring": {"metrics": {"beat":{"info":{"ephemeral_id":"1ca21870-7d14-49f7-a238-ef35540b127a","uptime":{"ms":60059}}},"libbeat":{"config":{"module":{"running":0}},"pipeline":{"clients":0,"events":{"active":0}}}}}}

Hello, thanks for the question about Metricbeat on Solaris. Solaris on x86 or SPARC is not supported by Beats. You may get the Beats products to build and function, but it's not an officially supported platform.

Here's our support matrix:
https://www.elastic.co/support/matrix

Thanks for the reply Michael :grinning:.

I'm aware Solaris is not supported, which is the reason I built Filebeat myself.

I haven't dug into the source for Metricbeat yet, so I don't know how complex it will be to modify it to work with Solaris x86 (or more ambitiously SPARC).

I was just curious if anyone in the community has attempted this, or went down the road I'm currently on.

Hello,

You're very welcome. :slight_smile: I have not tried to build the Beats projects on Solaris, but there are quite a few threads discussing getting Beats working on Solaris. It's definitely a popular platform within many folks researching building/configuring Beats.

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