# nxLog , Messages not showing

**URL:** <https://community.graylog.org/t/nxlog-messages-not-showing/4484>\
**Category:** Graylog Central (peer support)\
**Tags:** sidecar, nxlog, nodatanx\
**Created:** [March 7, 2018, 5:16pm UTC](https://community.graylog.org/t/nxlog-messages-not-showing/4484 "2018-03-07T17:16:46Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amine-elhijazi](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@Amine-elhijazi](https://community.graylog.org/u/Amine-elhijazi)\
**Post date:** [March 7, 2018, 5:16pm UTC](https://community.graylog.org/t/nxlog-messages-not-showing/4484/1 "2018-03-07T17:16:46Z")

</div>

hello to everyone  
i m trying to forward logs from my windows 7 host to the graylog server ( ubuntu 16.06)  
thins is the config of nxlog :

```
## 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/nxlog-docs/en/nxlog-reference-manual.html
 
## 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 gelf>
    Module xm_gelf
</Extension>
 
<Input in>
   Module im_msvistalog
    ReadFromLast FALSE
    SavePos FALSE
    Query <QueryList>\
                    <Query Id="0">\
                        <Select Path="Application">*</Select>\
                        <Select Path="System">*</Select>\
                        <Select Path="Security">*</Select>\
                    </Query>\
                </QueryList>
</Input>
 
<Output out>
    Module om_udp
    Host 192.168.111.132
    Port 12201
    OutputType GELF
</Output>
 
<Route 1>
    Path in => out
</Route>

```

and in the graylog host using wireshark i see the packet comming :  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/d/d44dcbe8afceba2ecdc29d9e7beb72d6d7959f72.png)

and this is my imput configuration :  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/c/c1688b07059fba80e74bb1032662fd742253fa7b.png)

well if everything is correct i m supposed to get my logs but :  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/4/46d71881a67ca608bd2d370eb21271f1895481cf.png)

i work with rsyslog with my ubuntu machine and it’s working perfectly 😕

and the port is listening :  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/4/43fd906a31ddf9c9ecc95b3aab4f01d5cb9db34a.png)

Thank u everyone for your help

---

<div class="post-metadata">

**Author:** ![jtkarvo](https://avatars.discourse-cdn.com/v4/letter/j/43a26b/32.png) [@jtkarvo](https://community.graylog.org/u/jtkarvo)\
**Post date:** [March 7, 2018, 8:06pm UTC](https://community.graylog.org/t/nxlog-messages-not-showing/4484/2 "2018-03-07T20:06:09Z")

</div>

Does it show in the inputs page that the input receives bytes?

Are there error messages in the Graylog server log?

---

<div class="post-metadata">

**Author:** ![Amine-elhijazi](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@Amine-elhijazi](https://community.graylog.org/u/Amine-elhijazi)\
**Post date:** [March 8, 2018, 9:22am UTC](https://community.graylog.org/t/nxlog-messages-not-showing/4484/3 "2018-03-08T09:22:51Z")

</div>

thank you for your answer !  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/8/8407977a6493fb8f7839b4ce748f3d5437786c48.png)

but nothing is showing 😕

---

<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:** [March 8, 2018, 9:34am UTC](https://community.graylog.org/t/nxlog-messages-not-showing/4484/4 "2018-03-08T09:34:25Z")

</div>

What’s in the logs of your Graylog node?  
[http://docs.graylog.org/en/2.4/pages/configuration/file\_location.html](http://docs.graylog.org/en/2.4/pages/configuration/file_location.html)

---

<div class="post-metadata">

**Author:** ![Amine-elhijazi](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@Amine-elhijazi](https://community.graylog.org/u/Amine-elhijazi)\
**Post date:** [March 8, 2018, 9:41am UTC](https://community.graylog.org/t/nxlog-messages-not-showing/4484/5 "2018-03-08T09:41:42Z")

</div>

hey Johcen thank you for your reply he it is

```
> 2018-03-08T09:34:43.695Z INFO [InputStateListener] Input [GELF UDP/5a9fc3f68cdcb6055d18c358] is now STOPPING
> 2018-03-08T09:34:43.707Z INFO [InputStateListener] Input [GELF UDP/5a9fc3f68cdcb6055d18c358] is now STOPPED
> 2018-03-08T09:34:43.709Z INFO [InputStateListener] Input [GELF UDP/5a9fc3f68cdcb6055d18c358] is now TERMINATED
> 2018-03-08T09:36:29.197Z INFO [InputStateListener] Input [GELF UDP/5a9fc3f68cdcb6055d18c358] is now STARTING
> 2018-03-08T09:36:29.340Z WARN [NettyTransport] receiveBufferSize (SO_RCVBUF) for input GELFUDPInput{title=nxlog windows udp, type=org.graylog2.inputs.gelf.udp.GELFUDPInput, nodeId=ffd6a6a0-cc15-4067-995f-c2b6c4eaf676} should be 262144 but is 212992.
> 2018-03-08T09:36:29.347Z INFO [InputStateListener] Input [GELF UDP/5a9fc3f68cdcb6055d18c358] is now RUNNING
> 2018-03-08T09:38:44.691Z WARN [Messages] Failed to index message: index=<graylog_0> id=<7de72c80-22b4-11e8-98ef-000c290eb38e> error=<{"type":"mapper_parsing_exception","reason":"failed to parse","caused_by":{"type":"illegal_argument_exception","reason":"Can't parse [index] value [not_analyzed] for field [EventType], expected [true] or [false]"}}>
> 2018-03-08T09:38:44.691Z ERROR [Messages] Failed to index [1] messages. Please check the index error log in your web interface for the reason. Error: One or more of the items in the Bulk request failed, check BulkResult.getItems() for more information.

```

There is an erreur can you help to solve please :S

---

<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:** [March 8, 2018, 10:01am UTC](https://community.graylog.org/t/nxlog-messages-not-showing/4484/6 "2018-03-08T10:01:08Z")

</div>

Try rotating the active write index (System/Indices/Index Set/Maintenance).

---

<div class="post-metadata">

**Author:** ![Amine-elhijazi](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@Amine-elhijazi](https://community.graylog.org/u/Amine-elhijazi)\
**Post date:** [March 8, 2018, 10:08am UTC](https://community.graylog.org/t/nxlog-messages-not-showing/4484/7 "2018-03-08T10:08:49Z")

</div>

i ll try now  
but i just change the node to global and the ereur i’m having in the log messsages when i recive any log from the client host 192.168.111.133 is :

```
2018-03-08T10:25:18.734Z WARN [Messages] Failed to index message: index=<graylog_0> id=<ffab54c0-22ba-11e8-98ef-000c290eb38e> error=<{"type":"mapper_parsing_exception","reason":"failed to parse","caused_by":{"type":"illegal_argument_exception","reason":"Can't parse [index] value [not_analyzed] for field [EventType], expected [true] or [false]"}}>
2018-03-08T10:25:18.734Z ERROR [Messages] Failed to index [1] messages. Please check the index error log in your web interface for the reason. Error: One or more of the items in the Bulk request failed, check BulkResult.getItems() for more information.
2018-03-08T10:25:20.612Z WARN [Messages] Failed to index message: index=<graylog_0> id=<00d99b90-22bb-11e8-98ef-000c290eb38e> error=<{"type":"mapper_parsing_exception","reason":"failed to parse","caused_by":{"type":"illegal_argument_exception","reason":"Can't parse [index] value [not_analyzed] for field [EventType], expected [true] or [false]"}}>
2018-03-08T10:25:20.612Z ERROR [Messages] Failed to index [1] messages. Please check the index error log in your web interface for the reason. Error: One or more of the items in the Bulk request failed, check BulkResult.getItems() for more information.

```

any idea please ?

---

<div class="post-metadata">

**Author:** ![Amine-elhijazi](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@Amine-elhijazi](https://community.graylog.org/u/Amine-elhijazi)\
**Post date:** [March 8, 2018, 10:13am UTC](https://community.graylog.org/t/nxlog-messages-not-showing/4484/8 "2018-03-08T10:13:49Z")

</div>

> [@Amine-elhijazi](#):
>
> any idea please ?

and excuse me i can’t " maintenance " 😕 sorry

---

<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:** [March 8, 2018, 10:38am UTC](https://community.graylog.org/t/nxlog-messages-not-showing/4484/9 "2018-03-08T10:38:29Z")

</div>

Make sure that your Elasticsearch index templates and mappings work with the version of Elasticsearch you’re using.  
[http://docs.graylog.org/en/2.4/pages/configuration/elasticsearch.html#custom-index-mappings](http://docs.graylog.org/en/2.4/pages/configuration/elasticsearch.html#custom-index-mappings)

---

<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:** [March 22, 2018, 10:38am UTC](https://community.graylog.org/t/nxlog-messages-not-showing/4484/10 "2018-03-22T10:38:36Z")

</div>

Closed on March 22, 2018, 10:38am UTC

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