#sending sys logs to EKS

1 messages · Page 1 of 1 (latest)

fervent owl
#

HI team,

Is there any documents to help us how to send sys logs to EKS

Thank you

past kayak
#

EKS as in ...? Elastic Kubernetes Service?

placid cypress
#

Also which ONTAP logs? management audit logs, or the EMS logs? or file audit logs from a SVM?

past kayak
#

I understood "sys logs" as EMS logs. But still, EKS has not a lot to do with log collecting, maybe they meant "ELK"?

placid cypress
#

In order to send EMS via syslog, the process is the same really no matter who you're sending to:

  1. Create an event notification destination
  2. Create an event filter, or use an existing one
  3. Create an event notification, using the destination and filter

https://docs.netapp.com/us-en/ontap/error-messages/configure-ems-events-notifications-syslog-task.html

fervent owl
fervent owl
past kayak
#

what do you mean "IP address of EKS"? EKS is Kubernetes, it has dozens of IP addresses. Also it is just the "engine", it doesn't take syslog messages. You need to set up an application ON EKS that can actually handle EMS messages. And when you have that running, you send the logs to that application. Not to EKS

fervent owl
placid cypress
fervent owl
placid cypress
#

Whatever application you want to be your syslog server. Elastic is the application ... it's an entire suit of applications actually. It has LogStash that is a syslog server, and ElasticSearch for to perform the searching of logs, Kibana to visualise and create/display those searches, etc. None of this is NetApp ... it's all 3rd party. There are hundreds of different syslog servers out there.

https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-eck.html

fervent owl
past kayak
# fervent owl What is that application called

there are multiple applications. You can use a simple rsyslog container that collects the logs, or you can use graylog, elasticsearch+logstash+kibana, splunk, or any of hundreds of other applications. Kubernetes alone will not help you much. It's basically like asking "How can I send E-Mail to my vCenter cluster?"

fervent owl
#

Thank you , so I have been given endpoints:port, so in place of -destination I need to give endpoints:ports or just end point

placid cypress
fervent owl
#

I’m running 9.11

warm forge
#

You may need to flip to advanced or diag mode

fervent owl
warm forge
#

Or not. Looks like you can’t specify a port until 9.12

#

On the docs page, flip the version (upper left) to 9.11

fervent owl
#

Thank you but then how will I specify the end point - endpoint;port

warm forge
#

That’s the thing, if you are trying to specify a port for events (syslog) you can’t modify the port unless you can upgrade to 9.12 (unless I’m mistaken on what you’re trying to do)

past kayak
#

what application are you using to collect the logs? Usually all applications listen on the regular syslog port (UDP 514) so you should not have to specify a port...?

past kayak
fervent owl