I want to delete text as below from log file.
Sample texts
↓
00:04:58.7177 Info {“message”:“Module(CheckUntreatedMail) Process Start”,
00:05:29.0067 Info {“message”:“Module(CheckUntreatedFile) Process End”,
----------------------------------------------,“organizationUnitId”:68}
sanjay3
(Sanjay)
July 22, 2024, 5:02am
2
Hi @myakkhaing
Can you give a sample of your expected output by giving some examples
vrdabberu
(Varunraj Dabberu)
July 22, 2024, 5:04am
3
Hi @myakkhaing
Can you provide the sample input and expected output as well.
Regards
Output is I want all of the logs excepts the above texts that I described in my question.
If I found the "Module(CheckUntreatedMail) Process Start , I want to delete until "Module(CheckUntreatedFile) Process End …} "
Sry, I don’t know why it doesn’t let me upload.
Input data is same as my question, only the “message” place is different,
Sometimes, “message” is Error or Complete, etc. So they are fine.
But if I found "Module(CheckUntreatedMail) Process Start , I want to delete from that line until "Module(CheckUntreatedFile) Process End …} "