Generating process tree using alternative data source #439
-
Hi there, Following is the dataframe which I would like to create a process tree of. I referred to this https://github.com/microsoft/msticpy/blob/c66a03fdd376c86b3ce3af266a91c6cf53c0d3fd/docs/source/visualization/ProcessTree.rst#adapting-the-input-schema-of-your-data to create the following. Do you think this is the correct way to achieve what I need ?
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Hi @blueteam0ps. E.g. my_schema = {
"time_stamp": "CreateTime",
"process_name": "ImageFileName",
"process_id": "PID",
"parent_name": "PPIDName",
"parent_id": "PPID",
"logon_id": "SessionId",
}
dfprocs.mp_plot.process_tree(schema=my_schema) You can also use ProcSchema from msticpy.nbtools.process_tree import ProcSchema
my_schema = ProcSchema(
time_stamp="CreateTime",
... Is the source DF from a common data source (e.g. Splunk, elastic?), if so I can add a builtin ProcSchema and have it auto-infer the source schema. |
Beta Was this translation helpful? Give feedback.
-
Wonder if I need to build a separate process tree builder for that kind of input? |
Beta Was this translation helpful? Give feedback.
-
@blueteam0ps - this should be fixed in #513. Due to be published in the next week. |
Beta Was this translation helpful? Give feedback.
-
Fixed in v2.1.3 |
Beta Was this translation helpful? Give feedback.
@blueteam0ps - this should be fixed in #513. Due to be published in the next week.