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

chg: adopt ps_everywhere analyzer to use JSONL format #141

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Roman-Envoid
Copy link

@Roman-Envoid Roman-Envoid commented Feb 7, 2025

This merge request updates the ps_everywhere analyzer to output data in JSONL format instead of standard JSON.

Key Changes:

  1. Modified the ps_everywhere analyzer to produce JSONL output instead of a single JSON array.
  2. Updated and extended serialization logic to store additional datetime, source and timestamp fields.
  3. Added doc-strings for each method.

Sample of output data:

{"process": "/sbin/launchd", "timestamp": 1734540943.0, "datetime": "2024-12-18T18:55:43.000000+02:00", "source": "ps.txt"}
{"process": "/usr/libexec/UserEventAgent (System)", "timestamp": 1734540943.0, "datetime": "2024-12-18T18:55:43.000000+02:00", "source": "ps.txt"}
{"process": "/usr/libexec/logd", "timestamp": 1734540943.0, "datetime": "2024-12-18T18:55:43.000000+02:00", "source": "ps.txt"}
{"process": "/usr/libexec/runningboardd", "timestamp": 1734540943.0, "datetime": "2024-12-18T18:55:43.000000+02:00", "source": "ps.txt"}

@Roman-Envoid Roman-Envoid reopened this Feb 7, 2025
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

Successfully merging this pull request may close these issues.

1 participant