Closed lrchma closed 5 years ago
Hello, Chris
Please pull the latest version and try it again. I identified an issue where the check was being set to logstash-flow. Also, do you have a field named event_type:flow ?
Thank you for prompt response.
The event_type:flow seems likely cause. I don't have that in my mapping but will test this week creating that field for any flows records received.
I pulled the latest version but same error as above, but that makes sense. I'll aim to update schema and try again this week and let know.
Best Regards,
Chris
If you don't mind sharing your query, I can try to find commonality between the two and restructure the way queries are made.
Closing due to no activity
Confirmed that in similar testing environment, issue was the hard-coded event_type
name.
Last version fixed it.
Just make sure to set the correct event_type name in the config file.
In my case, mine was :
event_key=event.type
When launching Flare it appears to successfully connect to ElasticSearch, and doesn't return any results, but the error about not retrieving any data is returned instantly which makes it seem likes it not actually searching (there are gigabytes of data in the indices)
I don't, however, have Bro/Snort/Surricate in this setup, rather I'm using NetFlow data which is normalised to appropriately typed fields in a custom ES index (SIP, DIP, Dport, @timestamp)
At this stage, I can't work out how to troubleshoot this further, so any tips welcomed, please.
I'm running the beacon example as per http://www.austintaylor.io/detect/beaconing/intrusion/detection/system/command/control/flare/elastic/stack/2017/06/10/detect-beaconing-with-flare-elasticsearch-and-intrusion-detection-systems/ and can successfully retrieve this flow data via Kibana in ES.
ElasticSearch.ini (I have hacked around the values for min values and timeouts, to no avail)
Running ES "5.5.0" on CentOS7.
Exemplary toolkit here btw :)
Cheers,
Chris