-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kansa on weaker machines #190
Comments
@Skwerl23 Have you seen the Splunk & Graylog output options that I wrote? Using either of them would take the processing burden off of the machine you're using to gather Kansa output and would also allow you to analyze collected data at scale. I've used the Splunk output option to gather logs from a globally dispersed set of machines at scale without issues. One thing to note though, I wrote the additional output options such that data will be pulled back to the machine you used to kick off Kansa, so it is possible you'd still encounter the same issues... |
@Skwerl23 Have you submitted PRs for the changes you had to make? Sounds like others could benefit from your work and not have to do the hard work you've already done to solve the issues. |
I submitted a correction to the errors issue with analyzing. I will submit some more code, my only concern is it isn't for everyone, but it corrects burden issues from pssession as it requires about 20-30 megs of ram for every PC in your target list... my change, splits your list into your throttlelimit so if you have a throttle limit of 50, it will pssession to 50 machines at a time. This is a little slower, than just having them all, but it also doesn't lock your machine up. Especially If you're a smaller organization and only looking to scan maybe a couple hundered devices with a 4gigs of ram machine. |
Ok i just submitted code for a computer limit parameter to allow for slower machines to handle kansa. |
here is the version i proposed |
I appreciate the greatness you have created, but i don't have access to those tools in the manner you suggest :/ and many others don't. |
I have had to rewrite large portions of Kansa to allow for it to run in my weaker machine. Just running against 400 machines required 8 gigs of RAM due to it opening PSsessions with all of them. Due to this I had to rewrite the get-target function calls to listen to your throttle limit. I also had to rewrite the log collections to even make log parser work for analysis. And rewrite the get-analysis function to handle errors. Because running something that takes 2+ hours for only 400 machines and then have an analysis fail is wasteful. Please update Kansa to actually be useful for weaker machines and scale larger than 1-200 machines with out failure. And not quit on analysis. Or at least allow for an analysis option to run on a folder after targetdata has been acquired. No options allow me to post analyze. I had to fake the outputfolder so it had to rerun on 1 machine and then do analysis.
The text was updated successfully, but these errors were encountered: