Skip to content

Can we make JSON a first class citizen? #142

Open
@hilt86

Description

@hilt86

Thanks again for making Zat - I'm surprised it isn't being used by more folks!

In reference to https://github.com/SuperCowPowers/zat/blob/7f0de8bb052e8c84ab9bd00f195514d957eac9ec/zat/json_log_to_dataframe.py which states :

"""JSONLogToDataFrame: Converts a Zeek JSON log to a Pandas DataFrame
    Notes:
        Unlike the regular Zeek logs, when you dump the data to JSON you lose
        all the type information. This means we have to guess/infer a lot
        of the types, we HIGHLY recommend that you use the standard Zeek output
        log format as it will result in both faster and better dataframes.
    Todo:
        1. Have a more formal column mapping
        2. Convert Categorial columns
"""

What needs to be done so that we can have JSON as a first class citizen in Zat? Heaps of other tools rely on Zeek logs being json (Elastic Agent integration, Rita, etc) so it is a bummer that in order to use Zat we need to use ascii logging..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions