![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | I am looking for information on parsing log files (text) I am looking for information on parsing log files (text). |
My System Specs![]() |
| | #2 (permalink) |
| | Re: I am looking for information on parsing log files (text) Check out Microsoft's LogParser 2.2 ----- Shay Levi $cript Fanatic http://scriptolog.blogspot.com Quote: > I am looking for information on parsing log files (text). > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: I am looking for information on parsing log files (text) rferrisx wrote: Quote: > I am looking for information on parsing log files (text). http://www.microsoft.com/technet/scr.../payette1.mspx Might need to be more specific though... Marco -- Microsoft MVP - Windows PowerShell http://www.microsoft.com/mvp PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com |
My System Specs![]() |
| | #4 (permalink) |
| | Re: I am looking for information on parsing log files (text) You might also look at Scott Hanselman's recent blog - http://feeds.feedburner.com/~r/Scott...owerShell.aspx Joe Brinkman ---------------------------------------------------------- DotNetNuke Corp. ASP.Net MVP www.dotnetnuke.com ---------------------------------------------------------- Quote: > rferrisx wrote: > Quote: >> I am looking for information on parsing log files (text). >> > http://www.microsoft.com/technet/scr.../payette1.mspx > Might need to be more specific though... > > Marco > > PowerGadgets MVP > http://www.powergadgets.com/mvp > Blog: > http://marcoshaw.blogspot.com |
My System Specs![]() |
| | #5 (permalink) |
| | Re: I am looking for information on parsing log files (text) "Shay Levi" <no@xxxxxx> wrote in message news:8766a944bc578c9ea017bee4006@xxxxxx Quote: > Check out Microsoft's LogParser 2.2 > :-) -- Keith |
My System Specs![]() |
| | #6 (permalink) |
| | Re: I am looking for information on parsing log files (text) Hello Keith Hill [MVP], Quote: > "Shay Levi" <no@xxxxxx> wrote in message > news:8766a944bc578c9ea017bee4006@xxxxxx > Quote: >> Check out Microsoft's LogParser 2.2 >> Quote: > > -- > Keith Thanks for the laugh. Karl |
My System Specs![]() |
| | #7 (permalink) |
| | Re: I am looking for information on parsing log files (text) Thanks for all of this. I know about log parser and will reconsider using it. This is more of the post I am looking for. I want to maximize the dot net interface and PS ability to store very large log files (GBs) in memory as a variable to produce specific output and charts. I will reconsider log parser as a useful tool, but quite frankly I think PS can do more for me. Help not run X and gnu plot on my windows box.... Thanks again, Ryan "Joe Brinkman" wrote: Quote: > You might also look at Scott Hanselman's recent blog - http://feeds.feedburner.com/~r/Scott...owerShell.aspx > > > Joe Brinkman > ---------------------------------------------------------- > DotNetNuke Corp. ASP.Net MVP > www.dotnetnuke.com > ---------------------------------------------------------- > Quote: > > rferrisx wrote: > > Quote: > >> I am looking for information on parsing log files (text). > >> > > http://www.microsoft.com/technet/scr.../payette1.mspx > > Might need to be more specific though... > > > > Marco > > > > PowerGadgets MVP > > http://www.powergadgets.com/mvp > > Blog: > > http://marcoshaw.blogspot.com > > |
My System Specs![]() |
| | #8 (permalink) |
| | Re: I am looking for information on parsing log files (text) It really depends on the format of the Log file... Powershell is pretty good at parsing natively. Brandon Shell --------------- Blog: http://www.bsonposh.com/ PSH Scripts Project: www.codeplex.com/psobject r> Thanks for all of this. I know about log parser and will reconsider r> using it. This is more of the post I am looking for. I want to r> maximize the dot net interface and PS ability to store very large log r> files (GBs) in memory as a variable to produce specific output and r> charts. I will reconsider log parser as a useful tool, but quite r> frankly I think PS can do more for me. Help not run X and gnu plot r> on my windows box.... r> r> Thanks again, r> r> Ryan r> r> "Joe Brinkman" wrote: r> Quote: Quote: >> You might also look at Scott Hanselman's recent blog - >> http://feeds.feedburner.com/~r/Scott...324/ParsingCSV >> sAndPoorMansWebLogAnalysisWithPowerShell.aspx >> >> Joe Brinkman >> ---------------------------------------------------------- DotNetNuke >> Corp. ASP.Net MVP www.dotnetnuke.com >> ---------------------------------------------------------- >> Quote: >>> rferrisx wrote: >>> >>>> I am looking for information on parsing log files (text). >>>> >>> This might get you started: >>> http://www.microsoft.com/technet/scr...sh/payette1.ms >>> px Might need to be more specific though... >>> >>> Marco >>> >>> PowerGadgets MVP >>> http://www.powergadgets.com/mvp >>> Blog: >>> http://marcoshaw.blogspot.com |
My System Specs![]() |
| | #9 (permalink) |
| | Re: I am looking for information on parsing log files (text) "rferrisx" Quote: > Thanks for all of this. I know about log > parser and will reconsider using it. This > is more of the post I am looking for. I > want to maximize the dot net interface > and PS ability to store very large log files > (GBs) in memory as a variable to produce > specific output and charts. I will reconsider > log parser as a useful tool, but quite frankly > I think PS can do more for me. Help not run > X and gnu plot on my windows box.... > ![]() Show us all how PowerShell is the right way (tool) here and not Microsoft's data parser, Log Parser 2.2 (even when ran within PowerShell) using Log Parser's own .NET classes ("to maximize the dot net interface - and charts")? So what is the PowerShell only (mmm define PowerShell too) way of doing the above? |
My System Specs![]() |
| | #10 (permalink) |
| | Re: I am looking for information on parsing log files (text) "rferrisx" <rferrisx@xxxxxx> wrote in message news:753FCC93-E652-497D-846B-6D970DFB5CD5@xxxxxx Quote: > Thanks for all of this. I know about log parser and will reconsider using > it. This is more of the post I am looking for. I want to maximize the > dot > net interface and PS ability to store very large log files (GBs) in > memory > as a variable to produce specific output and charts. I will reconsider log > parser as a useful tool, but quite frankly I think PS can do more for me. > Help not run X and gnu plot on my windows box.... > honestly, in this case, he's right. LogParser, as a dedicated tool for handling log files (even large ones) will give you much better performance than using PowerShell in the way you have indicated. For instance, you say you want to store GBs in a single variable. Well on 32 bit windows, each process only gets 2 GB of virtual address space (unless you use the /3GB boot.ini switch). Even then, I've seen processes top out at a little over 1 GB of private memory usage before die-ing with OutOfMemoryExceptions. Now if you are on x64 then perhaps PowerShell is worth giving a go but I suspect LogParser will have much better performance. -- Keith |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Parsing fixed line of text to CSV | PowerShell | |||
| Writing information to text file | VB Script | |||
| Parsing mixed formated text using powershell | PowerShell | |||
| Parsing Text File and returning variables | PowerShell | |||
| Parsing a text file | PowerShell | |||