I have a syslog-ng server which gathers data from Cisco Router, switches, netflow data and firewall related data .
The data is stored as flat files. Now, i am looking to send those to ELK SIEM .
I see that i can use filebeat and but no idea how can i set it up to fetch from a particular location and how to parse the data to make it SIEM compatible.
Also, do i need logstash to make the data SIEM compatible.
Hi @Ajay_Singh2, you can install Filebeat on your syslog-ng server to ship the data to Elastic SIEM in Elastic Common Schema format.
Once you install Filebeat you can simply enable the Cisco module to ship the data to Elastic. The module can be configured to read from a file path, e.g. /var/log/cisco-asa.
Logstash is not required to make the data SIEM compatible. Filebeat can ship the data directly, for use within Elastic SIEM.
You can define the paths line by line and wildcards are also supported (e.g. /ops/syslog//.log). You can view some examples of filebeat.yml configs here.
The Filebeat module will only parse the origin IP address within the Cisco syslog. A DNS processor is available to perform DNS requests for hostnames, however this is not enabled by default.
To add a suggestion for your second question, if the hostname is in the file path, Filebeat puts the path in the log.file.path field, and you can use the dissect processor in an Ingest Node pipeline to extract it from there.
I am waiting for my cisco admin to enable syslog and then i will test the solution out.
Another quick question regarding fortinet firewall. I have fortinet sending to syslog-ng , where Filebeat is installed. I see fortinet filebeat module is a x-pack and is not free.
Is there any alternative way to use filebeat to ingest and parse fortinet firewall logs and make it SIEM comptiable. (also i dont have a logstash)
Fortinet is included under the Elastic Basic license, which is free. SIEM is included in this license also. You can view all the available Subscriptions here. The out-of-the-box integrations are listed under the Data Ingest section of that doc.
@jamie.hynds I have downloaded fortinet module from GitHub. After ingestion, fields are not getting poplutated (fields mentioned in filebeat docs) and timestamp is not getting extracted.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.