First posted on github issues, which was closed: 
https://github.com/Graylog2/graylog2-server/issues/2943

Will repost here since it looks like it's more of a question then a bug. 
Basically I'm unable to get a GELF UDP input running inside the graylog 
server docker container. Basically nothing changed except for the name when 
creating it. How do I get it to run? Extra details below:

Expected Behavior

Successfully start the input.


Current Behavior

Unable to start a graylog input inside the graylog server docker container. 
No error message shows up, the input just doesn't work/listen. Strangely a 
few log files from a client manage to get through but then it stops because 
I guess the input is not running/working.


Possible Solution

Not sure, maybe conflicting with docker comopose port? But I guess it 
should be open for the container to receive any messages at all?


Steps to Reproduce (for bugs)
   
   1. Spin up a vagrant machine and change ip values in docker compose file 
   below
   2. docker-compose up -d
   3. Login to graylog interface and add input with following information: 
[image: 
   selection_008] 
   
<https://cloud.githubusercontent.com/assets/22659660/19309030/d1c13488-9082-11e6-8eef-f8741a2acece.png>

Context

docker-compose.yml

version: '2'
services:
  mongo:
    image: "mongo:3"
    volumes:
      - /graylog/data/mongo:/data/db
  elasticsearch:
    image: "elasticsearch:2"
    command: "elasticsearch -Des.cluster.name='graylog'"
    volumes:
      - /graylog/data/elasticsearch:/usr/share/elasticsearch/data
  graylog:
    image: graylog2/server:latest
    volumes:
      - /graylog/data/journal:/usr/share/graylog/data/journal
      - /graylog/config:/usr/share/graylog/data/config
    environment:
      GRAYLOG_PASSWORD_SECRET: xxx
      GRAYLOG_ROOT_PASSWORD_SHA2: xxx
      GRAYLOG_WEB_ENDPOINT_URI: http://192.168.x.x:9000/api/
      GRAYLOG_REST_TRANSPORT_URI: http://192.168.x.x:9000
    depends_on:
      - mongo
      - elasticsearch
    ports:
      - "9000:9000"
      - "5044:5044"
      - "5140/udp:5140/udp"
      - "12201/udp:12201/udp"

Your Environment
   
   - Graylog Version: graylog2/server:latest
   - Elasticsearch Version: elasticsearch:2
   - MongoDB Version: mongo:3
   - Operating System: Ubuntu 16.04
   - Browser version: Any

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/cdc281f3-833b-46be-9f03-9f9f80b5212c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to