Comments (9)
Is logstash://ip:5000
accessible from inside of the container?
from logspout-logstash.
docker compose logstash:
logstash:
image: elkstack/logstash-logspout
ports:
- 5000:5000/udp
restart: unless-stopped
command: -f /opt/logstash/sample.conf
=========================================================
root@vm10-140-92-130:# nc -w2 -u 10.140.31.128 5000# echo $?
root@vm10-140-92-130:
0
root@vm10-140-92-130:~
docker run -d bekt/logspout-logstash -e ROUTE_URIS: logstash://10.140.31.128:5000 -v /var/run/docker.sock:/var/run/docker.sock
root@vm10-140-92-130:~# docker logs 4544785d3fd2
logspout v3.2-dev-custom by gliderlabs
adapters: udp tcp logstash raw
options : persist:/mnt/routes
!! bad adapter:
root@vm10-140-92-130:~#
Port normal, how should I do?
-e ROUTE_URIS: logstash://10.140.31.128:5000/udp ,The same can not 。
Please help me, thank you
from logspout-logstash.
@Bekt Please help me, thank you!
from logspout-logstash.
Can you post your full docker-compose file? From the snippet above, it looks like you didn't mount the /opt/logstash/sample.conf
file in logstash.
from logspout-logstash.
The sample.conf file is in the mirror
from logspout-logstash.
Can you give me a docker-compose file I can run? Otherwise I have no idea with the given information.
from logspout-logstash.
Customized mirrors.
Mirror problem should not, and now logspout use compose, logspout with logstash use is no problem, it should not be a component of the problem. Now I have multiple logspout need to run in different nodes, can not use compose to run it
from logspout-logstash.
version: '2'
services:
elasticsearch:
image: 10.140.92.130:8050/elkstack/elasticsearch
restart: unless-stopped
ports:
- 9200:9200
kibana:
image: 10.140.92.130:8050/elkstack/kibana:latest
restart: unless-stopped
environment:
- ELASTICSEARCH_URL=http://elasticsearch:9200
ports:
- 5601:5601
logstash:
image: 10.140.92.130:8050/elkstack/logstash-logspout
ports:
- 5000/udp:5000/udp
restart: unless-stopped
command: -f /opt/logstash/sample.conf
redis:
image: redis
restart: unless-stopped
from logspout-logstash.
Hey @huyifanstar, were you able to figure out?
from logspout-logstash.
Related Issues (7)
- connection refused HOT 2
- too many open files error HOT 2
- TLS
- License HOT 1
- Tag releases HOT 1
- Version that uses logspout master HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logspout-logstash.