All Tags > IIS Input Format (RSS)
Sorry, but there are no more tags available to filter with.
  • RE: Distinct not working?

    You're the best!
    Posted to Forum by LogParser User : 3ryon on 05-22-2006, 1:35 PM
  • RE: Distinct not working?

    If you remove the DISTINCT clause, you should be fine. SELECT User , Occurances USING TO_LOWERCASE(cs-username) AS User , COUNT(*) AS Occurances FROM ex060511.log GROUP BY User ORDER BY User
    Posted to Forum by LogParser User : DEinspanjer on 05-14-2006, 6:35 PM
  • Distinct not working?

    I'm trying to research a problem with authentication in my IIS logs...so I banged up this SQL: SELECT DISTINCT TO_LOWERCASE(cs-username), count (*) as Occurrances FROM ex060511.log GROUP BY cs-username ORDER BY TO_LOWERCASE(cs-username) As you can see in the results below, users often appear 2 or 3 times...
    Posted to Forum by LogParser User : 3ryon on 05-12-2006, 10:44 AM
  • RE: first try

    got it working using logparser -i:IIS "SELECT TOP 10 UserIP, COUNT(*) FROM h:\winnt\system32\logfiles\smtpsvc1\in0605*.log GROUP BY UserIP"
    Posted to Forum by LogParser User : scott on 05-10-2006, 3:22 PM
  • first try

    im trying to query my IIS logs to find out the top 10 mail servers that have connected to our mail server. SELECT TOP 10 UserIP, COUNT(*) FROM in0605*.log GROUP BY UserIP when i try the above command it returns : Error: detected extra argument "TOP" after query looking over the log parser documentation...
    Posted to Forum by LogParser User : scott on 05-10-2006, 1:34 PM
  • RE: Searching a window of time

    The problem was #1. I was running version 2.0. As soon as I upgraded the query worked beautifully. Thanks so much for your help!
    Posted to Forum by LogParser User : 3ryon on 05-03-2006, 8:41 AM
  • RE: Searching a window of time

    Odd.. I copied your query and it runs fine against my IISW3C log source (I used instead of a direct reference to a file). A few troubleshooting questions/ideas: 1. Are you running LP 2.2.10? 2. Try wrapping all your field names in []. i.e. instead of cs(Referer) try [cs(Referer)] 3. Run the query with...
    Posted to Forum by LogParser User : DEinspanjer on 05-02-2006, 4:29 PM
  • RE: Searching a window of time

    Thanks for your quick reply! Still doesn't seem to work... SELECT cs(Referer), cs-uri-stem, count (*) as Occurrances FROM d:\logfiles\w3svc4\ex060501.log WHERE sc-status = 404 AND time BETWEEN TIMESTAMP('14:32:46', 'hh:mm:ss') AND TIMESTAMP('15:00:42', 'hh:mm:ss') Group By cs(Referer), cs-uri-stem Generated...
    Posted to Forum by LogParser User : 3ryon on 05-02-2006, 1:49 PM
  • RE: Searching a window of time

    the time field is not a string. it is a "time only timestamp" (type T). Use the TIMESTAMP() function to create time only timestamps that can be used to compare with the time field. e.g. AND time BETWEEN TIMESTAMP('14:32:46', 'hh:mm:ss') AND TIMESTAMP('15:00:42', 'hh:mm:ss')
    Posted to Forum by LogParser User : DEinspanjer on 05-02-2006, 12:17 PM
  • Searching a window of time

    I'm having difficulty figuring out how to run my query for a small window of time in my IIS logs. In the sample below I want to report all of the 404's in a 30 minute window (it works fine except for the time window): SELECT cs(Referer), cs-uri-stem, count (*) as Occurrances FROM d:\logfiles\w3svc4\ex060501...
    Posted to Forum by LogParser User : 3ryon on 05-02-2006, 10:01 AM
Page 4 of 9 (83 items) « First ... < Previous 2 3 4 5 6 Next > ... Last »
Microsoft Communities