I have my Stack setup across two machines. The first with Suricata and filebeat and the other logstash and Kibana/Elasticsearch. tcpdump confirms logs are being sent over and I recently figured out how to import my filebeat index template into kibana using the file export method; however I'm at a lost as to how to view any of my data via the dashboards. The built in Suricata dashboard seems to only be for data sent via the agent therefore everything says no data.
How do I view my data in Kibana that is ingested via Logstash? Is it possible to change the default dashboard to use my filebeat-8.16.0 index recently added? Any help would greatly be appreciated!!!
Are you sure you need logstash? Logstsash is great but is not necessarily needed for this? Are you following some other article etc?
No, that is not necessarily correct... but depending on what you did .. .could be confusing...
My Suggestion is to get the simple direct path working first. .
filebeat > elasticsearch
Once that is working, we can show you how to "Pass it through" logstash if needed
To do this, follow the Filebeat Quickstart very carefully and substitute the suricate modules for the nginx module in the
Set the filebeat.yml to point to Kibana and Elasticsearch
Enable the suricata module
run setup filebeat setup -e
run filebeat
Check the data and the dashboards
Once you get everything working, come back, and we can show you how to use logstash in the middle if it is still needed.
Thank you much for the direction. I'm further than ever before. I can go into kibana and find data streaming in via the discovery section using the 'filebeat-*' filter. However, when moving over to dashboards, there is no data although there are no errors anymore (see attached).
I have both the nginx and the suricata modules enabled. All fileset settings pointing to the same /var/log/suricata/eve.json file (<--- is this correct?). I know I'm close but just need the extra insight as to how to get my suricata dashboards populated, the entire reasoning for this adventure. Any help is appreciated.
Sorry for the multi post, but as a noob, I can only add one image per post. This is the last image showing the Nginx dashboard(s) also show no data. Your help is appreciated.
FYI - I disabled Nginx, enabled Suricata and pointed filebeat to suricata logs.
++
filebeat.inputs:
type: filestream
enabled: true
paths:
/var/log/suricata/*.json
fields:
event.type: suricata
...
++++
Also provided the following in module for suricata
filebeat.inputs:
type: filestream
enabled: true
paths:
/var/log/suricata/*.json
fields:
event.type: suricata
plus my auth ssl stuff
...
Unfortunately, nothing is returned from this query, much less any of the drill downs from here.
I'm hoping to show all available data from suricata. I guess my assumption is that unless I filtered something, I should see everything at least to start with.
Again, after configuring all types of ssl settings which work, the elastic stack is confusing to me as to why I can see data in discover but nothing in any of the visualizations. I'm sure Its a me thing. Your direction again is appreciated
I wish I could say what I did, but I'm not sure. At some point I found my suricata not running and restarted it. From there, the dashboards started populating.
Do not add more filestreams in the filebeat.yml nor extraneous fields unless you know what you are doing... And you know they do not conflict with existing fields ... The dashboards are driven by the correct schema and values
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.