# Sending logs to AWS graylog

**URL:** <https://community.graylog.org/t/sending-logs-to-aws-graylog/4806>\
**Category:** Graylog Add-ons\
**Created:** [April 2, 2018, 10:52am UTC](https://community.graylog.org/t/sending-logs-to-aws-graylog/4806 "2018-04-02T10:52:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rosygupta](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@rosygupta](https://community.graylog.org/u/rosygupta)\
**Post date:** [April 2, 2018, 10:52am UTC](https://community.graylog.org/t/sending-logs-to-aws-graylog/4806/1 "2018-04-02T10:52:17Z")

</div>

Hi,

I’m very new to Graylog and trying to send log messages from my local system to Graylog server setup on AWS server.

I have configured an input which is listening on 0.0.0.0 and port 9200.

I send this dummy message using netcat:  
echo -n ‘{ “version”: “1.1”, “host”: “[example.org](http://example.org)”, “short\_message”: “A short message”, “level”: 5, “\_some\_info”: “foo” }’ | nc -w0 -u \<server\_ip\> \<input\_port\>  
Server ip is the AWS server ip  
input port is 9200 as configured in the node input on Graylog.

I’m unable to get ny messages this way. Following this same methodology, I’m able to sent log messages to graylog setup on my local.

What could I possibly be doing wrong?

Thanks in advance!! 🙂

---

<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:** [April 4, 2018, 10:16am UTC](https://community.graylog.org/t/sending-logs-to-aws-graylog/4806/2 "2018-04-04T10:16:03Z")

</div>

> [@rosygupta](#):
>
> I have configured an input which is listening on 0.0.0.0 and port 9200.

Are you sure you want to use that port? It’s usually related to the Elasticsearch HTTP API (9200/tcp).

> [@rosygupta](#):
>
> I send this dummy message using netcat:

Is the IP address correct and is the instance on EC2 accessible from the Internet?

> [@rosygupta](#):
>
> What could I possibly be doing wrong?

Just some wild guesses:

- wrong IP address
- wrong VPC configuration
- firewall/packet filter configuration

---

<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:** [April 18, 2018, 10:27am UTC](https://community.graylog.org/t/sending-logs-to-aws-graylog/4806/3 "2018-04-18T10:27:51Z")

</div>

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