Sending logs to AWS graylog


(Rosy Gupta) #1

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”, “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!! :slight_smile:


(Jochen) #2

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

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

Just some wild guesses:

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

(system) #3

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