# Getting started with Graylog

**URL:** <https://community.graylog.org/t/getting-started-with-graylog/3442>\
**Category:** Graylog Central (peer support)\
**Tags:** sidecar, nxlog, winlogbeat, nodatanx\
**Created:** [December 11, 2017, 8:12am UTC](https://community.graylog.org/t/getting-started-with-graylog/3442 "2017-12-11T08:12:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreasD](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@AndreasD](https://community.graylog.org/u/AndreasD)\
**Post date:** [December 11, 2017, 8:12am UTC](https://community.graylog.org/t/getting-started-with-graylog/3442/1 "2017-12-11T08:12:16Z")

</div>

Hello Guys,

I am a Newbie to Graylog and want to get stated asap. I installed the Graylog OVA on an VM. I can access the Graylog via my browser.  
Now a want to send LogData to the Server.

I have some applications that write LogFiles and I want to see this Data in my browser.

I have two application that write LogFiles on a Linux server an about 3 that write LogFiles on a Windwos 2012 Server.

What is the best way to start. What do I have to configure so that I can see all the LogMessages.

If you need any more informations just aks.

Best regards.

Andi

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [December 11, 2017, 9:05am UTC](https://community.graylog.org/t/getting-started-with-graylog/3442/2 "2017-12-11T09:05:03Z")

</div>

> [@AndreasD](#):
>
> What is the best way to start. What do I have to configure so that I can see all the LogMessages.

You have to ship these log messages to Graylog, for example by using a log shipper such as Filebeat, Winlogbeat, or NXLOG.

If you don’t want to configure these log shippers manually, you can use the Graylog Collector Sidecar:  
[http://docs.graylog.org/en/2.3/pages/collector\_sidecar.html](http://docs.graylog.org/en/2.3/pages/collector_sidecar.html)

Also make sure to read [http://docs.graylog.org/en/2.3/pages/sending\_data.html](http://docs.graylog.org/en/2.3/pages/sending_data.html)

---

<div class="post-metadata">

**Author:** ![AndreasD](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@AndreasD](https://community.graylog.org/u/AndreasD)\
**Post date:** [December 11, 2017, 11:18am UTC](https://community.graylog.org/t/getting-started-with-graylog/3442/3 "2017-12-11T11:18:35Z")

</div>

Hello Jochen,

thx for your help. I will try the Graylog Collector Sidecar.  
At the moment I have another Problem.

When I am trying to access the webinterface, this error occures.

```
Graylog is restarting...

There is no Graylog web application running at the moment, please reload this page in a minute. It can take 
up to 1-2 minutes until all services are running properly. In case this is a permanent error, check the 
following:

Check if all services are running - sudo graylog-ctl status shows an overview of all running services
Check for errors in log files - Relevant services write log files here: /var/log/graylog/*/current
Ask for help - If there is no way to fix the issue ask for help: https://github.com/Graylog2/graylog2-
images/issues

```

I checked all services an the first output I recieve is:

```
**sudo: unable to resolve host graylog**
run: elasticsearch: (pid 26821) 3s; run: log: (pid 792) 506931s
run: etcd: (pid 14909) 13828s; run: log: (pid 800) 506931s
run: graylog-server: (pid 819) 506931s, got TERM; run: log: (pid 793) 506931s
run: mongodb: (pid 14919) 13827s; run: log: (pid 801) 506931s
run: nginx: (pid 14923) 13827s; run: log: (pid 799) 506931s

```

Is there a way to reset the OVA to “default settings”?

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [December 11, 2017, 11:28am UTC](https://community.graylog.org/t/getting-started-with-graylog/3442/4 "2017-12-11T11:28:23Z")

</div>

You can use the following command for cleaning all custom configuration and data from the OVA:

```auto
# sudo graylog-ctl cleanse

```

See [http://docs.graylog.org/en/2.3/pages/configuration/graylog\_ctl.html#configuration-commands](http://docs.graylog.org/en/2.3/pages/configuration/graylog_ctl.html#configuration-commands) for details.

Also make sure to check the logs of the Graylog node for possible error and warning messages before cleaning:  
[http://docs.graylog.org/en/2.3/pages/configuration/file\_location.html#omnibus-package](http://docs.graylog.org/en/2.3/pages/configuration/file_location.html#omnibus-package)

---

<div class="post-metadata">

**Author:** ![AndreasD](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@AndreasD](https://community.graylog.org/u/AndreasD)\
**Post date:** [December 20, 2017, 1:32pm UTC](https://community.graylog.org/t/getting-started-with-graylog/3442/5 "2017-12-20T13:32:29Z")

</div>

Hello Jochen,

thanks for your tipps.

Can you help me with the nxlog config. I am trying to send Log-Messages from  
/PATH/name.log to my graylog Server. I am talking about a application log so there is no standard structure.

I have already cared about Firewall Rules, that should work without any problems.

At the moment my nxlog.conf looks like this:

```auto
## This is a sample configuration file. See the nxlog reference manual about the
## configuration options. It should be installed locally and is also available
## online at http://nxlog.org/docs/

## Please set the ROOT to the folder your nxlog was installed into,
## otherwise it will not start.

#define ROOT C:\Program Files\nxlog
define ROOT C:\Program Files (x86)\nxlog

Moduledir %ROOT%\modules
CacheDir %ROOT%\data
Pidfile %ROOT%\data\nxlog.pid
SpoolDir %ROOT%\data
LogFile %ROOT%\data\nxlog.log

<Extension _syslog>
    #Module xm_syslog
	 Module xm_gelf			
</Extension>

<Input in>
    Module im_msvistalog
# For windows 2003 and earlier use the following:
# Module im_mseventlog
</Input>

<Output out>
    Module om_udp
    Host 172.20.42.15
    Port 514
    #Exec to_syslog_snare();
	OutputType	GELF
</Output>

<Route 1>
    Path in => out
</Route>

The Path to my log looks like this: 
C:\test\log\test\test.log

```

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [December 20, 2017, 1:36pm UTC](https://community.graylog.org/t/getting-started-with-graylog/3442/6 "2017-12-20T13:36:38Z")

</div>

please read the NXLOG Documentation how you take your input file. In addition you could just search in the Forum how other solved that.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [January 3, 2018, 1:37pm UTC](https://community.graylog.org/t/getting-started-with-graylog/3442/7 "2018-01-03T13:37:07Z")

</div>

Closed on January 3, 2018, 1:37pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
