Coder Social home page Coder Social logo

Comments (10)

mminklet avatar mminklet commented on July 19, 2024

Ok the server and web interfaces are definitely running as processes, but I have no idea where to set up the interface conf, and if this is indeed all installed correctly. After going through the init script for the interface I found the /usr/share installation of graylog-web, and in there is the symlink to for the conf folder to the /etc/graylog/web/ foilder...but where do I set up , for example
graylog2-server.uris="http://127.0.0.1:12900/"

is it still in where you say 'Open conf/graylog-web-interface.conf and set the two following variables' (in which case creating it did nothing after a restart) or should it go in another of the 4 conf files?

I've given up for today, I've wasted 6 hours on this. I would really appreciate someone giving me a hand.

from documentation.

joschi avatar joschi commented on July 19, 2024

Is there a reason you don't use the official DEB packages for Ubuntu Linux?

Those come with Upstart scripts to start/stop Graylog and the Graylog web interface.

I'm usually pretty resourceful, but these seem so utterly confusing I have no idea what I'm meant to do. I originally followed this, and had something working, but followed the advice to update the application.
https://www.digitalocean.com/community/tutorials/how-to-install-graylog2-and-centralize-logs-on-ubuntu-14-04

This "tutorial" is very outdated and is using an ancient version of Graylog2. You probably shouldn't follow these instructions.

from documentation.

mminklet avatar mminklet commented on July 19, 2024

I used the Ubuntu 14.04 deb package, is there another one?
On 20 Mar 2015 09:10, "Jochen Schalanda" [email protected] wrote:

Is there a reason you don't use the official DEB packages for Ubuntu Linux?

Those come with Upstart scripts to start/stop Graylog and the Graylog web
interface.


Reply to this email directly or view it on GitHub
#6 (comment)
.

from documentation.

mminklet avatar mminklet commented on July 19, 2024

Re the tutorial, I know it is that's why I am trying to upgrade. I've
removed everything in that tutorial and installed everything fresh, as per
the documentation.
On 20 Mar 2015 09:11, "Michael Mallett" [email protected] wrote:

I used the Ubuntu 14.04 deb package, is there another one?
On 20 Mar 2015 09:10, "Jochen Schalanda" [email protected] wrote:

Is there a reason you don't use the official DEB packages for Ubuntu
Linux?

Those come with Upstart scripts to start/stop Graylog and the Graylog web
interface.


Reply to this email directly or view it on GitHub
#6 (comment)
.

from documentation.

mminklet avatar mminklet commented on July 19, 2024

Perhaps I'm not clear. I tried the manual instructions, found it missing a
large step and then moved onto the installation package steps for Ubuntu.
Neither give me anything usable, I've tried going through the init script
to find the binary but there still seems to be large chunks of information
missing
On 20 Mar 2015 09:14, "Michael Mallett" [email protected] wrote:

Re the tutorial, I know it is that's why I am trying to upgrade. I've
removed everything in that tutorial and installed everything fresh, as per
the documentation.
On 20 Mar 2015 09:11, "Michael Mallett" [email protected] wrote:

I used the Ubuntu 14.04 deb package, is there another one?
On 20 Mar 2015 09:10, "Jochen Schalanda" [email protected]
wrote:

Is there a reason you don't use the official DEB packages for Ubuntu
Linux?

Those come with Upstart scripts to start/stop Graylog and the Graylog
web interface.


Reply to this email directly or view it on GitHub
#6 (comment)
.

from documentation.

joschi avatar joschi commented on July 19, 2024

FWIW, the DEB and RPM packages are working quite well. Just install them, edit the files in /etc/graylog/ accordingly and start graylog-server and graylog-web-interface using the Upstart scripts (in case of Ubuntu).

Could you please point out the step where you got stuck?

from documentation.

mminklet avatar mminklet commented on July 19, 2024

Yeah I figured out that you had to update the conf files, tho that in itself is confusingly placed in the documentation, in my opinion. I at least get an interface now, I was originally adding to a graylog-web-interface.conf file I created, as that is what the documentation says, again, disjointedly.

In the graylog-server logs I get:
ERROR: Could not successfully connect to Elasticsearch, if you use multicast check that it is working in your network and that Elasticsearch is running properly and is reachable. Also check that the cluster.name setting is correct.
The out put of curl -XGET 'http://localhost:9200/_cluster/health?pretty=true' is
{
"cluster_name" : "graylog2",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 1,
"active_shards" : 1,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0
}

I have tried adding this, tho this tip was from a much older version of elastic search so I have no idea if this still makes a difference (seemingly not)
network.host: localhost
network.bind_host: localhost
network.publish_host: localhost
network.host: localhost
From a hint I found a while ago

I also tried the suggestion in here but nothing
http://stackoverflow.com/questions/25581940/error-could-not-successfully-connect-to-elasticsearch-check-that-your-cluster

from documentation.

mminklet avatar mminklet commented on July 19, 2024

Ok I found the last piece, adding this
elasticsearch_discovery_zen_ping_unicast_hosts = 127.0.0.1:9300

to server.conf

Running now.

from documentation.

mminklet avatar mminklet commented on July 19, 2024

Can I contribute back to the documentation? I genuinely believe that now I have this up and running, your installation steps are confusingly fragmented.

from documentation.

joschi avatar joschi commented on July 19, 2024

@MichaelMallett You can create pull requests for the documentation at https://github.com/Graylog2/documentation

from documentation.

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.