Comments (32)
lol, protip remember to docker rmi ams_kibana_1 before scratching your head to why your changes aren't in you test build ;)
from amsterdam.
Those are Kibana 3 templates - they are not compatible with Kibana 4 - that is part of Amsterdam
from amsterdam.
ahh. Thank you. I missed that detail.
from amsterdam.
Any chance of updated versions? :)
from amsterdam.
Yes work in progress.
Any help/ideas/contribution is much appreciated and welcome as well.
from amsterdam.
Sadly, i'm very new to ELK and such. But i'll help if i can!
from amsterdam.
No worries - there are many ways you can help - testing is one of them for example.
from amsterdam.
Ideas i'm toying with
-bro integration
-honeypot integrations
-trace of an event across suricata/bro/honeypot for full picture of the event.
from amsterdam.
+1 - I'm interested in using Kibana4 dashboards as well. Any updates on this?
from amsterdam.
Hopefully within 2 weeks we will push some new dashboards (cc @regit )
from amsterdam.
Any update on the dashboard/Kibana4 front?
from amsterdam.
:)
I am working on the dashboards this and next week.
from amsterdam.
Hooray. Thanks for the update. I'm happy to test if you need it.
from amsterdam.
cool - will let you know.
Thanks!
from amsterdam.
Any updates on this? I just switched from SELKS to Amsterdam and I was missing the dashboards.
from amsterdam.
+1 - Any updates?
from amsterdam.
Sorry for the delay.
I am working on putting all 130-140 visualizations into dashboard in the next couple of days and if everything works ok with the tests- will update git by week's end.
from amsterdam.
I hope it was worthed the wait - you can test those -
https://github.com/StamusNetworks/KTS
from amsterdam.
so pevma, from your post it says "Kibana 4.4.x needs to be patched in order to load the templates. If you have installed Kibana in /opt/kibana for example" <-- how does this work in the Amsterdam environment? My guess is that Kibana will need to be "built" with a Dockerfile (and the patches added that way) in the docker-compose.yml file. Does that sound about right?
from amsterdam.
yep ...sounds right ...i think @regit is looking into it and is going to have some update on that soon.
from amsterdam.
okay dokie, if i get a chance tomorrow i'll try and do it and make a pull request
from amsterdam.
that will be super! Thanks
from amsterdam.
So i've put into the kibana dockerfile the patching process, but the load.sh script requires connection to a live elasticsearch. So how i see this working is, patch kibana in the dockerfile then either run the load.sh script on start up or do a 'docker exec -it kibana /bin/bash -c "source /tmp/KTS/load.sh"' once its up and running.
My guess is though, and you could stop me if i'm wrong but the if we run it at start up it will destroy whatever saved searches and dashboards are there, so potentially a user loses what they've got and if we do the docker exec one, it'll need to be done every time the amsterdam is started again
from amsterdam.
also, is they're any harm by applying the patches but not running the load.sh to kibana too?
from amsterdam.
There is no harm: the patches have been forgotten by Elastics team and should have been part of kibana.
from amsterdam.
so what i've done is rewritten the kibana dockerfile in the src/docker folder. It pulls in git, clones the KTS repo, patches kibana, does some sed to change the load.sh script from 127.0.0.1:9200 to elasticsearch:9200, took the original docker-entrypoint,sh script from kibana, added the load.sh script
to it. This means it should load the visualisations/dashboards each run.
I'll give it a run through and see how it behaves, but with a quick glance does everything discussed above make sense, have i forgotten anything blatant?
from amsterdam.
On load.sh you can just give it elasticsearch:9200 as first argument and it will use that instead of localhost.
The tricky part that may be missing is that you need elasticsearch to be up and really running. I did not check load.sh code but maybe a retry policy would be needed.
from amsterdam.
as predicted load.sh tries to connect and fails, i'll put a delay in but i'm going to have to sign off this for today and pick it back up again tomorrow.
from amsterdam.
@arr0n - you can try something like this:
counter=0
while ! echo exit | nc localhost 9200; do
counter=$((counter + 1))
echo "Port 9200 is NOT listening/open !!";
echo "The script will retry to connect 6 times - once every 10 sec";
echo "and exit afterwords if not successful!"; echo;
if [ "$counter" -lt 6 ]; then
sleep 10
else
echo "Tried to connect 6 times already...exiting!"
exit 1
fi
done
(of course make sure the correct spacing is in place)
After/underneath that code block have the load.sh script execution sequence. (this is how we do it for the current SELKS dashboard loading script to check if ES is listening on 9200)
from amsterdam.
hey @pevma cheers, i shall have a look at this later on today. Thanks
A
from amsterdam.
Great work guys!
Looking forward for those dashboards
Thanks!
from amsterdam.
Implemented in git. It will be part of next release.
from amsterdam.
Related Issues (20)
- Timelion not working HOT 1
- HTTP 404 when updating ruleset HOT 4
- scirius and user accounts HOT 3
- System stops working after a few weeks HOT 1
- Setup fails - API conflict on 16.04 HOT 2
- Error in src/amsterdam.py HOT 7
- Internal Server Error HOT 2
- Just doesn't work HOT 14
- Error installing from setup HOT 2
- Scirius - Internal Server Error HOT 14
- Managing logs HOT 2
- Run PCAP through SELKS HOT 2
- not working, alas HOT 2
- No dashboards under scirius menu HOT 1
- Guidance - suricata.yaml\\\" caused \\\"not a directory\\\"\"" HOT 1
- Using Python 2 only? HOT 4
- Which architectures are supported? HOT 3
- Error on the command pip install amesterdam HOT 2
- amsterdam install not works on Ubuntu desktop 18.04 64 bit HOT 2
- Python3 Support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amsterdam.