cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10754
Views
0
Helpful
7
Replies

Logging to remote server "elk stack"

Hi friends,

   I have been tasked to implement open source logging server and forward all switches and routers..etc logs to it.

I have made it building elk stack 4.5 on ubuntu server 16 and working well but...

My issue that all received logs have the same severity of 5 and facility which is not correct according to the received logs.

Any one could make it before to help me? Any ideas guys?

Thank you all in advance

M.R.

1 Accepted Solution

Accepted Solutions

Lewis Goulden
Level 1
Level 1

Hi, 

You need to edit your Logstash configuration, and filter input using grok.

I have set up ELK in the past and found some useful configurations online.

Take a look at this configuration for cisco devices. (ASA is slightly different due to log format)

https://gist.github.com/clay584/5a75009ad571af3d0648

View solution in original post

7 Replies 7

Lewis Goulden
Level 1
Level 1

Hi, 

You need to edit your Logstash configuration, and filter input using grok.

I have set up ELK in the past and found some useful configurations online.

Take a look at this configuration for cisco devices. (ASA is slightly different due to log format)

https://gist.github.com/clay584/5a75009ad571af3d0648

Hi Lewis,

             Thank you so much for your help, I figured out what was the issue and handled it , beside you link helped me too.

this link helped me too http://grokdebug.herokuapp.com/

thank you again

Romeo
Level 1
Level 1

Hello did you follow a guide that you can share for all the installing process?

 

 

thanks in advance and best regards!

akjain3
Cisco Employee
Cisco Employee

Hi,

I need to visualize logs of the switch through elk but I need help to figure it out. Can you help me with that?

Thanks in advance

Hello,

 

as I understand it, you have to create a dashboard in order to visualize data (Step 4 in the page linked below). Is that what you are looking for ?

 

https://www.redhat.com/sysadmin/web-server-monitor-ELK

Yes, I want to visualize the data and find out the failure points easily i.e. anomaly detection. But Frist can you help me to figure out how can I send logs from the server to Elasticsearch through Logstash.

Hello,

 

check the link below for the Logstash part. Is that what you are looking for ?

 

https://www.neteye-blog.com/2017/10/sending-cisco-syslogs-to-elasticsearch-a-simple-guide/

Review Cisco Networking for a $25 gift card