![]() One email as it appears in Splunk for IMAP How might I process these a little further to get just the log data in the body (and hopefully each line of the log data is a separate record). ![]() I'm only interested in the body of the emails which contains log data, and want them to be separated out as separated records in Splunk.Īt the moment, I'm getting emails which look like what I've included below. Therefore, the goal is to create a CSV file with two columns: the email's body and the classification label of that email. This parsing has been created to process emails for Machine Learning Classification. This is a quick solution to parse a Gmail export in MBOX format. The only way I can get log data out of my home router is via email, so I'm using Splunk for iMAP to achieve this. Gmail MBOX email parser (Python) Description.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |