All Tagsoutput (RSS)
  • How To Output the Filename Where Match Occurs?

    Hello, I'm running logparser in a C# application, and I'm using the ExecuteBatch method. This runs nicely (I think) because I do get the output file, but the method returns false. Now the main question I wanted to ask is. since my query is searching in a bunch of files, I was wondering if it's...
    Posted to Forum by mOrrIsEmSaBeR on 11-12-2009, 11:58 AM
  • Bug with LogParser - Truncates event log Message string in Datagrid

    It appears that LogParser truncates the event log message string if using either the DataGrid or SQL outputs (I haven't tested other outputs yet) Is this a bug with LP or is there a setting that I haven't seen to enable the entire message to be sent to the DataGrid or SQL? Thanks
    Posted to Forum by agc1 on 10-22-2009, 3:32 PM
  • Merge two outputs

    Hi everyone, I have two LP queries that return different results from the same origin. One output's a 3d exploded pie chart, and a second that return a table with 4 columns with a sumarized result of a second query. How can I run this both (separate) queries keeping in mind that the result should...
    Posted to Forum by saturno on 10-20-2009, 12:46 PM
  • Seems that ETW-live works only with NAT

    Hello, I want to dump events from live ETW session into XML file at realtime. Another tool is going to parse this file as it is being written. I tried this command: "LogParser "SELECT * INTO out.xml FROM ExampleTrace" -i:ETW -o:XML". That created zero-size file 1.xml and the file...
    Posted to Forum by suhanovsergey on 08-06-2009, 7:56 AM
  • Re: Log Parser 2.2; csv to SQL

    [quote user="joelangley"] Yes, it is possible. Can I ask though how are you getting the data into SQL. Are you using .NET or Scripts or straight from within logparser. [/quote] Thanks joelangley. I am getting data from csv to SQL using command straight from within logparser2.2. Let me explain...
    Posted to Forum by volitanthorse on 07-07-2009, 10:01 PM
  • Log Parser 2.2; csv to SQL

    Hi, I am using log parser 2.2 to convert perfmon csv data to SQL server database, with -createTable:ON. The column of input perfmon csv file and the column of new generated table are consistent, it's OK. But I want to know that is there any way I can insert a addition customized column (not exist...
    Posted to Forum by volitanthorse on 07-07-2009, 4:34 AM
  • Output to SQL 2008 DB

    Hello Gents, I'm using the follow LogParses string to write all 'Security' Event logs to a specific SQL DB: LogParser -i:EVT -o:SQL "SELECT * INTO EventLog FROM Security" -server:SERVERNAME\SQLEXPRESS -database:LogHog -driver:"SQL Server" -createTable:ON -maxStrFieldLen...
    Posted to Forum by RMarrero on 06-19-2009, 12:56 PM
  • Code for using COM object for C# .Net with SQL Output

    Here's my code that works. I actually dumped log files from System, Application and Security logs into the database. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; // Log Parser 2.2 using MSUtil; namespace...
    Posted to Forum by Solburn17 on 06-08-2009, 4:45 PM
  • How to write daily Bandwidth usage in SQL table

    I need help with an automated batch job that writes hourly bandwidth usage from previous day log file. More specifcally, how do dynamically generate the file name for my query. Any help will be appreciated.
    Posted to Forum by osahaf on 04-15-2009, 3:37 PM
  • How to insert text into Log Parser output from query string

    I'm trying to query a text file and build an output that includes inserted text in selected fields. Query that works: LogParser "SELECT Text INTO Status FROM C:\Download\LogParser\full.backup.log where Text like '%Error%' " -i:TEXTLINE -o:SQL -oConnString:"Driver={Microsoft...
    Posted to Forum by andersce on 10-08-2008, 3:28 PM
Page 1 of 2 (16 items) 1 2 Next >
Microsoft Communities