Skip to content
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

Add parsing multiple input files #5

Open
schristoforou opened this issue Jun 25, 2021 · 1 comment
Open

Add parsing multiple input files #5

schristoforou opened this issue Jun 25, 2021 · 1 comment

Comments

@schristoforou
Copy link

Hey, thanks for the great script. I'd like to suggest modifying the read_data function so that one can read multiple (or a wildcard pattern of) files. We (as many others) use BBB clusters, so the logs come into a logging server in the form of dns_bbbweb_date.log. Right now I have to collect logs from all servers into one file and parse that, it would be cleaner if it could be done on the individual log files.

@gerlos
Copy link
Owner

gerlos commented Oct 12, 2021

I acknowledge this could be an useful addition to the script, but right not I'm not sure how to implement it - it requires a few conventions about file names, and I'm not sure which one could be more useful for your use case.

Can you please give me some more details? For example, are you looking for a report named like the original log file? (i.e. dns_bbbweb_date.csv)

Perhaps right now you can get the result you need using bbbattendance in a for loop in a bash script, or importing it as a module in another script and use the existing functions to get the result you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants