Actually we have two variety of logs.
- Syslogs which comes from Linux device ( start with time)
- Syslog but comes from cisco devices
Logs which comes from cisco device start with hostname and logs which comes from linux start with time so i want to send the logs which comes from cisco device to different port so how do i filter like if my logs start with hostname it should go to differnt port (other then configure for linux device)?
what if or else statment or any other way which pick if logs start with hostname then it should go port "6514"