Timeline for Break up large log files
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:36 | history | edited | CommunityBot |
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
|
|
| Apr 18, 2016 at 18:10 | vote | accept | Mike | ||
| Apr 10, 2016 at 13:22 | history | edited | terdon♦ | CC BY-SA 3.0 |
edited body
|
| Apr 7, 2016 at 16:55 | comment | added | Mike | @MelBursian Thanks for the response. I am not knowledgeable enough to be able to convert your guidance into a workable command. Everything I tried had $1 either a date, or for lines without a date, a string. That made me lost as to how to proceed. | |
| Apr 7, 2016 at 16:33 | comment | added | Mike | @KM, the only compact example at unix.stackexchange.com/a/123983/4252 does not include any line that do not include a date. I need those lines. | |
| Apr 7, 2016 at 15:01 | answer | added | terdon♦ | timeline score: 1 | |
| Apr 7, 2016 at 14:52 | comment | added | MelBurslan |
The length of the date and time strings are looking very uniform to me. You can extract both with a simple cut command or $1 in awk replaces the actual date and $2 the actual time. In short, you don't need square brackets. The post you linked is a common case but not necessarily the norm.
|
|
| Apr 7, 2016 at 14:52 | comment | added | KM. | There is an example extraction for data "without [] braces" in the answer you referenced: unix.stackexchange.com/a/123983/4252 | |
| Apr 7, 2016 at 14:47 | comment | added | terdon♦ | Please see formatting tools for help on formatting your posts. | |
| Apr 7, 2016 at 14:47 | history | edited | terdon♦ | CC BY-SA 3.0 |
deleted 154 characters in body; edited tags
|
| Apr 7, 2016 at 14:46 | history | edited | MelBurslan | CC BY-SA 3.0 |
improved formatting
|
| Apr 7, 2016 at 14:41 | history | asked | Mike | CC BY-SA 3.0 |