GithubHelp home page GithubHelp logo

Comments (8)

Talar1997 avatar Talar1997 commented on July 20, 2024 2

I had same issue with syscall filter.

I was able to run elk stack on M1 using docker with images from this repo. Here's my solution based on docs from https://elk-docker.readthedocs.io/#building-image-arm64 with my extra steps:

  1. Pull phusion/baseimage:master-arm64 (because docker build thrown errors) docker pull phusion/baseimage:master-arm64
  2. Build with command from docs (with added tag) docker build --build-arg IMAGE=master-arm64 --build-arg ARCH=aarch64 . -t m1/elk
  3. Run: docker run -p 5601:5601 -p 9200:9200 -p 5044:5044 -p 7777:7777/udp -v $PWD/.docker/elk/udp.conf:/etc/logstash/conf.d/99-input-udp.conf -e MAX_MAP_COUNT=262144 -it --name distnode-elk m1/elk

Here's also ma config (udp.conf)

input {
    udp {
        id => "nodejs_udp_logs"
        port => 7777
        codec => json
    }
}
output {
    elasticsearch {
        hosts => ["localhost:9200"]
        document_type => "nodelog"
        manage_template => false
        index => "nodejs-%{+YYYY.MM.dd}"
    }
}

from elk-docker.

syberkitten avatar syberkitten commented on July 20, 2024

tried building an image from this project, adding this line to the elasticsearch.yml
but then i got a failure of a different kind:

elk_1       | qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
elk_1       |    ...fail!

 Couldn't start Elasticsearch. Exiting.
elk_1       | Elasticsearch log follows below.
elk_1       | cat: /var/log/elasticsearch/elasticsearch.log: No such file or directory

from elk-docker.

BonesyWonesy avatar BonesyWonesy commented on July 20, 2024

Also getting this as an issue with a Mac M1. Currently on macOS 12.4. But this specific issue seems to be a duplicate of: #357

from elk-docker.

lylek avatar lylek commented on July 20, 2024

Also getting this as an issue with a Mac M1. Currently on macOS 12.4. But this specific issue seems to be a duplicate of: #357

I'm getting the same issue. That issue you referenced looks different to me.

from elk-docker.

jgreffe avatar jgreffe commented on July 20, 2024

@syberkitten : did you resolve this issue? Having the same error :/

from elk-docker.

maxonfjvipon avatar maxonfjvipon commented on July 20, 2024

@jgreffe Hey! Did you find the solution? I got the same issue (obviously)

from elk-docker.

BonesyWonesy avatar BonesyWonesy commented on July 20, 2024

I ended up doing similar to what was done on this post to get it all working on my M1:

https://blog.devgenius.io/elastic-search-8-2-3-kibana-enterprise-search-developer-env-setup-notes-docker-only-6c39e7520f80

from elk-docker.

xtakeit avatar xtakeit commented on July 20, 2024

I had same issue with syscall filter.

I was able to run elk stack on M1 using docker with images from this repo. Here's my solution based on docs from https://elk-docker.readthedocs.io/#building-image-arm64 with my extra steps:

  1. Pull phusion/baseimage:master-arm64 (because docker build thrown errors) docker pull phusion/baseimage:master-arm64
  2. Build with command from docs (with added tag) docker build --build-arg IMAGE=master-arm64 --build-arg ARCH=aarch64 . -t m1/elk
  3. Run: docker run -p 5601:5601 -p 9200:9200 -p 5044:5044 -p 7777:7777/udp -v $PWD/.docker/elk/udp.conf:/etc/logstash/conf.d/99-input-udp.conf -e MAX_MAP_COUNT=262144 -it --name distnode-elk m1/elk

Here's also ma config (udp.conf)

input {
    udp {
        id => "nodejs_udp_logs"
        port => 7777
        codec => json
    }
}
output {
    elasticsearch {
        hosts => ["localhost:9200"]
        document_type => "nodelog"
        manage_template => false
        index => "nodejs-%{+YYYY.MM.dd}"
    }
}

but I meet something diffrence.
the image master-arm64 is no found. so I change to phusion/baseimage:focal-1.2.0.

Operation Steps :

Pull arm64 paltform image: docker pull --platform=linux/arm64 phusion/baseimage:focal-1.2.0
Build with local image focal-1.2.0: docker build --build-arg IMAGE=focal-1.2.0 --build-arg ARCH=aarch64 . -t sebp/elk-arm64

Run: sudo docker run -p 5601:5601 -p 9200:9200 -p 5044:5044 -it --name arm64-elk sebp/elk-arm64

from elk-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.