Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • The sed approach might be better because there is additional data in the log file that doesn't conform to the strings that I posted in this thread. Using "Agent Identifier" as the common criteria will probably work. I will have to test. Commented Apr 20, 2017 at 21:02
  • Thanks @RomanPerekhrest. The sed approach works like a charm. Gives me a starting point to learn text processing further. I'm looking for a good resource with examples to get better using grep/sed/awk. Commented Apr 21, 2017 at 17:31
  • @Heisenberg, you're welcome. To learn awk - find the book "GAWK: Effective AWK Programming", for other tools - official documentation is good(it's also good for awk) Commented Apr 21, 2017 at 19:48