Replies: 3 comments
-
good work ! :) |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as spam.
This comment was marked as spam.
-
I need help getting stable diffusion to work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Extracting information from GitHub Audit log exports with DuckDB
Having exported git events from my organization and stored them in a file named
git-events.json
I found that json is not the most pleasant thing to read:I wanted to be able to do two things quickly:
Let's use a tool called DuckDB to work through these two requirements.
Install DuckDB
MacOS
The version of duckdb installed was:
Create a DuckDB database and import the
git-events.log
json fileImport the
git-events.json
file into a table called "gitevents"This will create a table in the database containing all the data from git-events.json.
Select action and group by hour
Create a table for the audit event
Follow the steps for exporting audit log activity for your enterprise
Save the audit log events to a file called
events.json
.Output CSV format group by minute
Create a CSV report file by hour
A file called
events-by-hour.csv
has been created.Beta Was this translation helpful? Give feedback.
All reactions