This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.Net.Http; | |
using System.Security.Cryptography; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Newtonsoft.Json; | |
namespace Zying.Acm.Aliyun |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class NginxLogParser | |
{ | |
/// <summary> | |
/// 解析Nginx日志 | |
/// </summary> | |
/// <param name="log"></param> | |
/// <returns></returns> | |
/// <remarks> | |
/// \x0A*,\x08\xD4\x98\x82*\xFF | |
/// 拆分为: |