Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
i am following this tutorial and also adding the http://docs.graylog.org/en/1.3/pages/collector.html
below logs are from /var/log/graylog-collector/collector.log
2016-03-07T12:24:11.039+0000 ERROR [gelfTcpTransport-3-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12202
2016-03-07T12:24:11.040+0000 ERROR [gelfTcpTransport-1-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12201
2016-03-07T12:24:12.040+0000 ERROR [gelfTcpTransport-3-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12202
2016-03-07T12:24:12.040+0000 ERROR [gelfTcpTransport-1-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12201
2016-03-07T12:24:13.041+0000 ERROR [gelfTcpTransport-3-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12202
2016-03-07T12:24:13.041+0000 ERROR [gelfTcpTransport-1-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12201
2016-03-07T12:24:14.042+0000 ERROR [gelfTcpTransport-3-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12202
2016-03-07T12:24:14.042+0000 ERROR [gelfTcpTransport-1-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12201
2016-03-07T12:24:15.043+0000 ERROR [gelfTcpTransport-3-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12202
2016-03-07T12:24:15.043+0000 ERROR [gelfTcpTransport-1-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12201
2016-03-07T12:24:15.889+0000 WARN [HeartbeatService RUNNING] collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog server: ConnectException: Connection refused
2016-03-07T12:24:16.045+0000 ERROR [gelfTcpTransport-1-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12201
2016-03-07T12:24:16.045+0000 ERROR [gelfTcpTransport-3-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12202
2016-03-07T12:24:17.045+0000 ERROR [gelfTcpTransport-3-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12202
2016-03-07T12:24:17.046+0000 ERROR [gelfTcpTransport-1-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12201
2016-03-07T12:24:18.046+0000 ERROR [gelfTcpTransport-1-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12201
2016-03-07T12:24:18.046+0000 ERROR [gelfTcpTransport-3-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12202
2016-03-07T12:24:19.047+0000 ERROR [gelfTcpTransport-3-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12202
2016-03-07T12:24:19.048+0000 ERROR [gelfTcpTransport-1-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12201
2016-03-07T12:24:20.048+0000 ERROR [gelfTcpTransport-3-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12202
2016-03-07T12:24:20.048+0000 ERROR [gelfTcpTransport-1-1] gelfclient.transport.GelfTcpTransport - Connection failed: Connection refused: /127.0.0.1:12201
2016-03-07T12:24:20.648+0000 ERROR [FileObserver] collector.file.FileReaderService - Cannot read modified file /var/log/syslog
java.nio.file.AccessDeniedException: /var/log/syslog
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84) ~[?:1.7.0_95]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) ~[?:1.7.0_95]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) ~[?:1.7.0_95]
at sun.nio.fs.UnixFileSystemProvider.newAsynchronousFileChannel(UnixFileSystemProvider.java:196) ~[?:1.7.0_95]
at java.nio.channels.AsynchronousFileChannel.open(AsynchronousFileChannel.java:248) ~[?:1.7.0_95]
at java.nio.channels.AsynchronousFileChannel.open(AsynchronousFileChannel.java:300) ~[?:1.7.0_95]
at org.graylog.collector.file.ChunkReaderScheduler.followFile(ChunkReaderScheduler.java:85) ~[graylog-collector.jar:?]
at org.graylog.collector.file.ChunkReaderScheduler.followFile(ChunkReaderScheduler.java:73) ~[graylog-collector.jar:?]
at org.graylog.collector.file.FileReaderService$FsChangeListener.pathModified(FileReaderService.java:161) [graylog-collector.jar:?]
at org.graylog.collector.file.FileObserver$WatchPath.dispatchEvent(FileObserver.java:75) [graylog-collector.jar:?]
at org.graylog.collector.file.FileObserver.run(FileObserver.java:142) [graylog-collector.jar:?]
at com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:60) [graylog-collector.jar:?]
at com.google.common.util.concurrent.Callables$3.run(Callables.java:95) [graylog-collector.jar:?]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_95]
and this from /var/log/graylog-web/application.log
2016-03-07T12:24:11.353Z - [ERROR] - from org.graylog2.restclient.lib.ApiClient in main
Connection refused: /127.0.0.1:12900
2016-03-07T12:24:11.358Z - [ERROR] - from org.graylog2.restclient.lib.ApiClient in servernodes-refresh-0
Connection refused: /127.0.0.1:12900
2016-03-07T12:24:11.384Z - [INFO] - from play in main
Application started (Prod)
2016-03-07T12:24:11.433Z - [INFO] - from play in main
Listening for HTTP on /0:0:0:0:0:0:0:0:9000
2016-03-07T12:24:15.512Z - [INFO] - from play in New I/O worker #18
Starting application default Akka system.
2016-03-07T12:24:16.361Z - [ERROR] - from org.graylog2.restclient.lib.ApiClient in servernodes-refresh-0
Connection refused: /127.0.0.1:12900
2016-03-07T12:25:49.313Z - [INFO] - from play in Thread-4
Shutdown application default Akka system.
2016-03-07T12:25:51.053Z - [ERROR] - from org.graylog2.restclient.lib.ApiClient in main
Connection refused: /127.0.0.1:12900
2016-03-07T12:25:51.058Z - [ERROR] - from org.graylog2.restclient.lib.ApiClient in servernodes-refresh-0
Connection refused: /127.0.0.1:12900
2016-03-07T12:25:51.086Z - [INFO] - from play in main
Application started (Prod)
2016-03-07T12:25:51.138Z - [INFO] - from play in main
Listening for HTTP on /0:0:0:0:0:0:0:0:9000
2016-03-07T12:25:55.518Z - [INFO] - from play in New I/O worker #18
Starting application default Akka system.
2016-03-07T12:25:56.061Z - [ERROR] - from org.graylog2.restclient.lib.ApiClient in servernodes-refresh-0
Connection refused: /127.0.0.1:12900
2016-03-07T12:26:51.548Z - [ERROR] - from org.graylog2.restclient.models.UserService in play-akka.actor.default-dispatcher-6
Unauthorized to load user admin
org.graylog2.restclient.lib.APIException: API call failed GET http://@127.0.0.1:12900/users/admin returned 401 Unauthorized body:
at org.graylog2.restclient.lib.ApiClientImpl$ApiRequestBuilder.handleResponse(ApiClientImpl.java:511) ~[org.graylog2.graylog2-rest-client--1.3.3-1.3.3.jar:na]
at org.graylog2.restclient.lib.ApiClientImpl$ApiRequestBuilder.execute(ApiClientImpl.java:441) ~[org.graylog2.graylog2-rest-client--1.3.3-1.3.3.jar:na]
at org.graylog2.restclient.models.UserService.retrieveUserWithSessionId(UserService.java:162) ~[org.graylog2.graylog2-rest-client--1.3.3-1.3.3.jar:na]
at lib.security.RedirectAuthenticator.authenticateSessionUser(RedirectAuthenticator.java:122) [graylog-web-interface.graylog-web-interface-1.3.3.jar:1.3.3]
at lib.security.RedirectAuthenticator.getUsername(RedirectAuthenticator.java:55) [graylog-web-interface.graylog-web-interface-1.3.3.jar:1.3.3]
at play.mvc.Security$AuthenticatedAction.call(Security.java:37) [com.typesafe.play.play_2.10-2.3.10.jar:2.3.10]
at play.core.j.JavaAction$$anonfun$11.apply(JavaAction.scala:82) [com.typesafe.play.play_2.10-2.3.10.jar:2.3.10]
at play.core.j.JavaAction$$anonfun$11.apply(JavaAction.scala:82) [com.typesafe.play.play_2.10-2.3.10.jar:2.3.10]
at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24) [org.scala-lang.scala-library-2.10.4.jar:na]
at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24) [org.scala-lang.scala-library-2.10.4.jar:na]
at play.core.j.HttpExecutionContext$$anon$2.run(HttpExecutionContext.scala:40) [com.typesafe.play.play_2.10-2.3.10.jar:2.3.10]
at play.api.libs.iteratee.Execution$trampoline$.execute(Execution.scala:46) [com.typesafe.play.play-iteratees_2.10-2.3.10.jar:2.3.10]
at play.core.j.HttpExecutionContext.execute(HttpExecutionContext.scala:32) [com.typesafe.play.play_2.10-2.3.10.jar:2.3.10]
Hi, Great tutorial, it’s very easy to follow and digest. Could you give a breakdown of the code below?
$template GRAYLOGRFC5424,“<%pri%>%protocol-version% %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %msg%\n” . @graylog_private_IP:8514;GRAYLOGRFC5424
Also, how would you change the admin password after it being generated in graylog2.conf?
After installing graylog web. I am unable to logon to the gray log server via the web interface. I went through the setup twice with the same results.
I assume quotes are not required for password for the following command PASSWORD=$(echo -n password | shasum -a 256 | awk ‘{print $1}’)
Hii, All done when i m going to put IP address in browser i’ll get error No Graylog2 servers Availabel. cannot log in & not able to give access.
https://drive.google.com/open?id=0B4xI1Rx167abM1EyY1U3bGFyMUU
thanks
I am on Ubuntu 16 and I had to use apt-get install mongodb-server for the MongoDB server.
This tutorial seems out of date - is there a new one for the new versions of graylog and ubuntu?