IIS Server Security - LogParser's XML Output contains linefeed characters

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > June 2004 > LogParser's XML Output contains linefeed characters





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author LogParser's XML Output contains linefeed characters
Craig Dunstan

2004-06-26, 10:16 am

I am using LogParser 2.1 and sending the output to XML so
I can review the results. Unfortunately, it appears as
though LogParser (or perhaps the underlying log) is
generating a linefeed character (0x0A) and two spaces
after the contents of each element value.

Any ideas how to remove any LF's from the output so that
my XML DB can find records?

Thanks in advance
Craig
Jeff Cochran

2004-06-26, 10:16 am

On Wed, 23 Jun 2004 23:07:11 -0700, "Craig Dunstan"
<anonymous@discussions.microsoft.com> wrote:

>I am using LogParser 2.1 and sending the output to XML so
>I can review the results. Unfortunately, it appears as
>though LogParser (or perhaps the underlying log) is
>generating a linefeed character (0x0A) and two spaces
>after the contents of each element value.
>
>Any ideas how to remove any LF's from the output so that
>my XML DB can find records?


This isn't related to IIS Security. Might want to check a XML group
or logparser.com for help. You could alwyas remove the characters
with a script, but without knowing if they're in the underlying log
file it would be tough to say it's a log parser setting.

Jeff

2004-06-26, 10:16 am


>-----Original Message-----
>On Wed, 23 Jun 2004 23:07:11 -0700, "Craig Dunstan"
><anonymous@discussions.microsoft.com> wrote:
>
so[vbcol=seagreen]
that[vbcol=seagreen]
>
>This isn't related to IIS Security. Might want to check

a XML group
>or logparser.com for help. You could alwyas remove the

characters
>with a script, but without knowing if they're in the

underlying log
>file it would be tough to say it's a log parser setting.
>
>Jeff
>.
>


Sorry about that. The tool is part of the IIS Resource
Kit and I am using it to review the IIS Logs for security
purposes. You say tomato, I say tomato.
Jeff Cochran

2004-06-26, 10:16 am

On Thu, 24 Jun 2004 16:10:00 -0700,
<anonymous@discussions.microsoft.com> wrote:

>
>so
>that
>a XML group
>characters
>underlying log
>
>Sorry about that. The tool is part of the IIS Resource
>Kit and I am using it to review the IIS Logs for security
>purposes. You say tomato, I say tomato.


No big deal, just figured that some of the logparser experts don't
frequent the security group as much as the other locations.

If this is the IIS logfile, there shouldn't be a LF but rather a CRLF
at the end of each line, so I suspect LogParser is adding it. I see a
post in the LogParser.com forums, so this may be you checking that
resource.

Jeff
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com