Questions tagged [logparser]

A log parser extracts (usually text) data from a log file into a more specific data structure, making the log information easier to process. A log parser can be implemented as a standalone application, or as a library for a specific programming language. LogParser is also the name of a free Microsoft tool which provides a SQL-like interface to log files of almost any format, from generic CSV, TSV, and XML files to more specific formats.

Many server-side applications create log files, usually in a more-or-less structured text format.

While this allows for maximum flexibility in accessing these logs with a wide variety of tools, it makes programmatic processing a bit of a pain, especially when no concise format specification is available for the logs.

This is where a log parser comes in: it is either a standalone application or a library designed for one or sometimes multiple programming languages, and converts the log file into more specific data structures, such rows in an Excel sheet or class instances.

The newly created data structures contain field names and are type-safe as much as possible, making further processing much easier.

296 questions
4
votes
2 answers

How to use Log Parser Plugin in a Jenkins Workflow script

The Log Parser Plugin is now compatible with Workflow but how do I use it?
Lars Bilke
  • 4,940
  • 6
  • 45
  • 63
4
votes
1 answer

Jenkins: Log Parser Plugin configuration

i'm quite new in Jenkins. I would like to use the log parser plugin to parse the console output of jenkins. Like the documentation explains I have to add a file, which is containing my parsing rules. So there is my question: How do i upload files…
Ventu
  • 780
  • 1
  • 12
  • 25
4
votes
1 answer

Jenkins Log Parser rules

I am using the Jenkins Log Parser Plugin as a post-build step to check for errors after builds I have all my rules in a file and the notation supports the Java regex embedded flag expression: # list keywords or regex for ERRORS: error…
bob
  • 105
  • 1
  • 8
4
votes
2 answers

Can I get LogParser 2.2 to export into MySQL?

I've got an IIS site running with a MySQL db. Is there a way to get logparser to export into a MySQL database?
Glenn Slaven
  • 33,720
  • 26
  • 113
  • 165
4
votes
2 answers

Join Query Using LogParser

In Log Parser Can we write a join query on two files ? Because i want to display an output from two files based on one common relation between them, Is this possible to do with Log Parser? if so please suggest an example, Thanks in Advance
user2173005
  • 45
  • 2
  • 5
4
votes
3 answers

What are your favorite LogParser Scripts?

What are you favorite LogParser 2.2 Scripts to run against IIS logs and Event logs? I am putting a list of scripts together to run against our production environment to proactively look for issues and to help when isolating performance problems. Do…
Elijah Manor
  • 17,923
  • 17
  • 72
  • 79
3
votes
1 answer

Querying svc log file with logParser

I have generated a xml trace for my program using the Enterprise Library TraceManager. It works great. Using the Microsoft Service Trace Viewer, I can see a separate trace per call. I would love to query the file so I found Microsoft Logparser and…
KeithMacCrimmon
  • 219
  • 3
  • 16
3
votes
1 answer

LogParser The local computer may not have the necessary registry information or message DLL files to display messages

Why does the output of logparser show "The description for Event ID 203 in Source "Microsoft-Windows-StorageSpaces-Driver" cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages…
3
votes
3 answers

LogParser for Java

I just read this post and i wonder if there is something like this for querying jboss log file.
IAdapter
  • 62,595
  • 73
  • 179
  • 242
3
votes
2 answers

Issue with LogMX Regular Expression Parser

We are using LogMX log viewer to monitor our application logs, using a Regular Expression Parser. Every time a log message contains the "-" character, LogMX doesn't parse the log event as expected. For example, the following log event: [ERROR] |…
ebatienss
  • 78
  • 4
3
votes
5 answers

Exporting SharePoint usage log files into a database using LogParser

So basically we have lots of SharePoint usage log files generated by our SharePoint 2007 site and we would like to make sense of them. For that we're thinking of reading the log files and dumping into a database with the appropriate columns and all.…
Malik Daud Ahmad Khokhar
  • 13,470
  • 24
  • 79
  • 81
3
votes
4 answers

Log Parser Case statement

I am using case statements in Log parser to find out the browser names like, case strcnt(cs(user-agent), 'MSIE') when 1 THEN 'IE' But some of the user agent fields have 'MSIE' more than one time, is there any way to check >=1 case…
user1905397
  • 171
  • 1
  • 3
  • 9
3
votes
3 answers

Log Parser 2.2 skipping today's IIS logs

I'm trying to count the number of hits for a particular URL on our web site by parsing our IIS logs using Log Parser 2.2. Everything seems to be working fine, except that its handling of timestamps is greatly confusing me. The IIS logs have all of…
Jacob
  • 77,566
  • 24
  • 149
  • 228
3
votes
6 answers

LogParser Access Denied error

I using Logparser to parse IIS Log and show information on a web page. Everything is working fine in my development environment but once I publish the application to server I get the following error: Retrieving the COM class factory for component…
chamara
  • 12,649
  • 32
  • 134
  • 210
3
votes
2 answers

Learning/Detecting Mutatable Parts of a URL in Logs

Say you have a webserver log (apache, nginx, whatever). From it you extract a large list of…
dave mankoff
  • 17,379
  • 7
  • 50
  • 64
1
2
3
19 20