Log parser query

Hi, I need assistance in writing a log parser query which can read input from a txt file which contains smtp addresses. The query should search for each of the smtp addresses in the input file against a log file. The query results need to be exported to
a csv file.
Thanks,
Feroz
Feroz

Hi,
You need to ask about Log Parser in the Log Parser forum rather than here.
http://forums.iis.net/default.aspx/51
Bill

Similar Messages

  • Query for log Parser to get number of hits in a day or week for particular web applications or site collection

    Hi All,
    Want to get the number of hits in a day for a web application with IIS logs. so need to know Query for log Parser to get number hits in a day or week for particular web applications or site collection. Kindly help
    Regards,
    Naveen

    I'm trying to get this from WSS 3.0, Hence using the Log Parser

  • Unable to parse query when using dblink in forms 4.5

    Hi,
    I have created a query that uses a DBlink because I need to do query on a table located on another dbase. I've used the query on creating my report using Reports 6i. The report needs to be called from a menu on our system, which was developed under Developer 2000 (forms 4.5). The problem is, when I tried to access the report from the menu, it returns the error 'unable to parse query'. What I did after getting error was to create a dummy module using Forms 6i, and call my report from there. It worked fine.
    By the way, the table that I'm accessing using the dblink is under Oracle 9i dbase, and the dbase of the system that I've been working at is Oracle 8i.
    I don't have any idea on what's causing this error. Is there a compatibility issue when using a dblink located in Oracle 9i database with forms 4.5?
    Thanks!

    Hello,
    Not sure if it is the good answer, but I know that Forms does not recognize dblink and owner.object syntax. You have to create a simple synomym that point to the distant object and use this synonym within Forms.
    Francois

  • Change logs for query...........

    Hi,
    How to check the logs for query changes. Means which user has done what change.In properties we get the last user only.
    Is there any way to check the full history of changes?
    Can we change that in some transport request?
    Bye,
    Jeetu

    Hi,
    There is no such facilities available to find, which user has done what changes in the query. you can only get the last changed 's user name of query. in transport request also you cannot change the query.
    To add, check out this:
    Tcode SQ01>select 'Environement' from the menu>Directories>All Queries
    in the popup window, select a query and click on 'Display' button. you would get some useful information about that query
    Bye

  • Parsing query variable

    I am facing a problem while parsing query output variable.
    Scenario:-
    I have stored session variable name as the column value of a
    table.
    Now I have used cfquery tag and get the result column value
    which is the session variable name. But cold fusion didn't parse
    that session variable with its actual value.
    Step1- Table view by using cfdump tag
    query - Top 1 of 1 Rows
    PARAMETERNAME - PARAMETERVALUE
    1 @matterspacename - #SESSION.Matter_space_Name#
    Step2- Using cfquery tag to fetch data from table:-
    <cfquery name="qSendNotification"
    datasource="#Database_DSN#">
    select
    ParameterName,
    ParameterValue
    from
    Tbl_EventParameterDetails
    where
    NotificationEventID = 1
    and IsActive = 1
    </cfquery>
    Step3- Now using result of cfquery output.
    <cfset event_data= #qSendNotification.ParameterValue#>
    Step4- When I used cfdump to display result value its shows
    as under:-
    <cfdump var="#event_data#">
    output:- #SESSION.Matter_space_Name#
    Instead of parsing actual value of the session variable it
    displays the session variable name.
    Please help me, How to parse this session value or if my code
    has some error, please suggest me any other way to handle this
    situation.
    Thanks in advance

    This is my actual code from which i m getting result from
    cfquery and then concatinating it into a variable and then passing
    it to the stored procedure.
    <cfquery name="qSendNotification"
    datasource="#Database_DSN#">
    select
    epd.ParameterName,
    epd.ParameterValue
    from
    Tbl_NotificationEventParamaters as nep
    inner join Tbl_EventParameterDetails as epd
    on nep.EventParameterID = epd.EventParameterID
    where
    NotificationEventID = #NotificationEventID#
    and nep.IsActive = 1
    and epd.IsActive = 1
    </cfquery>
    <!--- concatinating parametername & parametervalue and
    appending it into event_datal, parametervalue holds session
    variable names--->
    <cfset event_data="">
    <cfloop query="qSendNotification">
    <cfset event_data = event_data &
    qSendNotification.ParameterName & "=" &
    #qSendNotification.ParameterValue# & "|">
    </cfloop>
    <cfstoredproc datasource="#Database_DSN#"
    procedure="stp_SendNotifictaion">
    <cfprocparam type="in" value="#NotificationEventID#"
    dbvarname="NotificationEventID" cfsqltype="cf_sql_integer">
    <cfprocparam type="in" value="#event_data#"
    dbvarname="NotificationEventData" cfsqltype="cf_sql_varchar">
    <cfprocresult name="ResultSP">
    </cfstoredproc>

  • Syntax error (parsing query)

    I'm trying to search based on two properties and got an exception:
    syntax error (parsing query);location=trexsahqt1v:30003 (Errorcode 2029)
    If i set only one condition my code is working fine
    My code....
    for(int i = 0; i < searchParams.length; i++)
    IQueryEntry queryEntry = indexCollection.getNewQueryEntry()    
    if ("createdby".equalsIgnoreCase(searchParams<i>.getPropertyName()))
             queryEntry.setRowType(IQueryEntry.ROW_TYPE_ATTRIBUTE);
             queryEntry.setTermAction(IQueryEntry.TERM_ACTION_EXACT);
             queryEntry.setPropertyName(PropertyName.createCreatedBy());
             queryEntry.setValue("same value")
             queryEntry.setPropertyOperator(IQueryEntry.PROPERTY_OPERATOR_EQUAL);
             queryEntryList.add(queryEntry);
       if ("modifiedby:".equalsIgnoreCase(searchParams<i>.getPropertyName()))
             queryEntry.setRowType(IQueryEntry.ROW_TYPE_ATTRIBUTE);
             queryEntry.setTermAction(IQueryEntry.TERM_ACTION_EXACT);
             queryEntry.setPropertyName(PropertyName.createCreatedBy());
             queryEntry.setValue("same value");
             queryEntry.setPropertyOperator(IQueryEntry.PROPERTY_OPERATOR_EQUAL);
             queryEntryList.add(queryEntry);
    Is any "AND" or "OR" operators I have to setup , if yes please let me know how?
    Really appreciate your help

    I'm trying to search based on two properties and got an exception:
    syntax error (parsing query);location=trexsahqt1v:30003 (Errorcode 2029)
    If i set only one condition my code is working fine
    My code....
    for(int i = 0; i < searchParams.length; i++)
    IQueryEntry queryEntry = indexCollection.getNewQueryEntry()    
    if ("createdby".equalsIgnoreCase(searchParams<i>.getPropertyName()))
             queryEntry.setRowType(IQueryEntry.ROW_TYPE_ATTRIBUTE);
             queryEntry.setTermAction(IQueryEntry.TERM_ACTION_EXACT);
             queryEntry.setPropertyName(PropertyName.createCreatedBy());
             queryEntry.setValue("same value")
             queryEntry.setPropertyOperator(IQueryEntry.PROPERTY_OPERATOR_EQUAL);
             queryEntryList.add(queryEntry);
       if ("modifiedby:".equalsIgnoreCase(searchParams<i>.getPropertyName()))
             queryEntry.setRowType(IQueryEntry.ROW_TYPE_ATTRIBUTE);
             queryEntry.setTermAction(IQueryEntry.TERM_ACTION_EXACT);
             queryEntry.setPropertyName(PropertyName.createCreatedBy());
             queryEntry.setValue("same value");
             queryEntry.setPropertyOperator(IQueryEntry.PROPERTY_OPERATOR_EQUAL);
             queryEntryList.add(queryEntry);
    Is any "AND" or "OR" operators I have to setup , if yes please let me know how?
    Really appreciate your help

  • JDBC Query Single Row service Parse Query

    Using JDBC Query Single Row service on an Oracle database,
    I specify a SQL statement like this:
    select abc, to_char(aDate, 'MM/DD/YYYY') from xyz where def = 123
    then I click the "Parse Query" button to try to map the query results to my variables, but the mapping window gives me 3 fields instead of 2:
    1. abc
    2. to_char(aDate)
    3. 'MM/DD/YYYY'
    how do I let it understand that there are only 2 fields in the results so that I can map it properly?
    thanks

    Got a new minor issue unrelated to the above, but I don't want to flood this forum with another new topic, so I'll stick this new thing here.
    I have a very simple process that only contains this JDBC Query Single Row service.
    In this query single row service, at the bottom of the property sheet, there's a section where it says "number of rows retrieved"...
    now, if I map this 'number of rows' to a variable (I set the variable's type as "int"), when I call my process (as a web service), it returns me nothing... all the output parameters are empty.
    If I remove the mapping of "number of rows", that is, there's nothing in that bottom section. Then my process works correctly, all the output variables contain correct data from my database.
    Has anybody encountered this? what's your solution please?

  • Multi Row Selector using Generic Column Names (parse query at runtime only)

    Hi,
    I created a tabular report which had a multi row select in it - got the deleting working fine.
    Am now creating a second tabular report, but because of the SQL:
    select
    "ID",
    "ID" ID_DISPLAY,
    "RESNUMBER",
    "RESDESCRIPTION",
    decode(RESTYPE,'R','Right Party','W','Wrong Party'),
    decode(DMCFLAG,'Y','Yes','N','No'),
    decode(SALEFLAG,'Y','Yes','N','No')
    from "CALL_RESULTS"
    I have to select the option Use Generic Column Names (parse query at runtime only) otherwise I cannot save the form.
    My problem is I am now unable to add a multi row selector to the tabular form. If I do and run the form I get the following error - failed to parse SQL query: ORA-00904: "COL11": invalid identifier. Also when I go back and edit the form the multi row selector has been removed.
    Can anyone tell me why I can't add a row selector like I previously could?
    Regards
    Simon

    Arie,
    I added aliases and to the decode columns, and I can now add a row selector to the form without any problems.
    Thank you very much for your help.
    Regards
    Simon

  • How to see the user log of query

    Hi all ,
    Can any body help me about the log of user access to a Bex 3.5 query ? We want to learn which users access to query designer and make changes on queries. The query designer only give us the last user who access to query. Is there a transaction or something that we can see this information.

    Hi Selen,
    Check RSZCHANGES and note down the compid
    and check it in RSZCOMPDIR
    Check these tables in SE11
    check these threads even..
    [Change logs for query...........;
    [Id of logged in user;
    [http://help.sap.com/saphelp_nw04s/helpdata/en/43/5fa1dc3c046e47e10000000a422035/frameset.htm]
    Regards,
    NR
    Assign points if helpful...

  • Log the query of the "Execute Query Task"

    Hi,
    I want to log/watch the query executed by the "Execute query Task". It's a query  with different variables, the different variables i can see in one of the debug windows and these looks OK, but the query doesn't do what's expected. So i want to see the whole query, is that possible?
    Query logging on the database server isn't an option. The server is an oracle server and the dba doesn't want to change this setting.
    Thanks,
    Dennis

    You could use a single variable to store your entire query, and use that in your Execute SQL task. Basically, you need to set the variable to evaluate as an expression, then build your query string in the variable. You can use this to combine your
    other variables into the query, and see it as one value at runtime.
    I am using SSIS 2008. I know I can do it with a variable. But I was wondering why SSIS does not allow you to log the query easily. Just for this, I will have to create a variable and a script task :(

  • Verifying and parsing "query" in cm:select query="..." ...

    I'm writting a session EJB that's passed a param (String query) which is supposed
    to be any valid "query" string passed to the cm:select tag (see "http://edocs.bea.com/wlcs/docs31/p13ndev/jsptags.htm#1057716"
    for more info on this tag and the query param).
    My problem is this: I don't think I should write ALL the stuff to validate and
    parse this string because bea has already done it in: com.beasys.commerce.foundation.expression.*;
    but the only source of documentation available on those classes is the Javadoc(which
    isn't that complete). Has anyone used these classes before(Search, Expression,
    Criteria, Logical)? Does anyone know of some documents on how to use them?
    Please help if you can. I'd really appreciate it. Thanks.

    rajan please just google or search SDN. there are large number of post for this..
    to give you a head start: for using a particular index in the select query a %_HINTS ORACLE 'INDEX clause is added

  • How to log a query or ticket to SAP on SAP support Portal - need process

    Dear All,
    I got SAP support portal user id and password. Can anybody guide me how to log a ticket or query on some issue to SAP.
    Pls let me knwo how to search help notes to. Explain me in steps pls.
    Need urgent help.
    Thanks
    Sunnzy

    Hello exper,
    Can you tell me that incase i have to log a request for a client server then how i will do that.
    I am simply facing a problem in PPOME transaction where a tab for IT 1005 planned compensation has been added but it is not showing any input fields there. However we tried the same configuation in Sandpit server and it is working fine.
    Incase i have to log this is to SAP for help, do i have to follow the same path to do it.
    thanks
    Sunny

  • SQL 2012 SP1 - How to determine a query that causes Error 8623 in SQL Log: The query processor ran out of internal resources and could not produce a query plan. This is a rare event...

    We are getting multiple 8623 Errors in SQL Log while running Vendor's software.
    How can you catch which Query causes the error?
    I tried to catch it using SQL Profiler Trace but it doesn't show which Query/Sp is the one causing an error. 
    I also tried to use Extended Event session to catch it, but it doesn't create any output either.
    Error:
    The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that
    reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information.
    Extended Event Session that I used;
    CREATE EVENT SESSION
        overly_complex_queries
    ON SERVER
    ADD EVENT sqlserver.error_reported
        ACTION (sqlserver.sql_text, sqlserver.tsql_stack, sqlserver.database_id, sqlserver.username)
        WHERE ([severity] = 16
    AND [error_number] = 8623)
    ADD TARGET package0.asynchronous_file_target
    (SET filename = 'E:\SQLServer2012\MSSQL11.MSSQLSERVER\MSSQL\Log\XE\overly_complex_queries.xel' ,
        metadatafile = 'E:\SQLServer2012\MSSQL11.MSSQLSERVER\MSSQL\Log\XE\overly_complex_queries.xem',
        max_file_size = 10,
        max_rollover_files = 5)
    WITH (MAX_DISPATCH_LATENCY = 5SECONDS)
    GO
    -- Start the session
    ALTER EVENT SESSION overly_complex_queries
        ON SERVER STATE = START
    GO
    It creates only .xel file, but not .xem
    Any help/advice is greatly appreciated

    Hi VK_DBA,
    According to your error message, about which query statement may fail with error message 8623, as other post, you can use trace flag 4102 & 4118 for overcoming this error. Another way is looking for queries with very long IN lists, a large number of
    UNIONs, or a large number of nested sub-queries. These are the most common causes of this particular error message.
    The error 8623 occurs when attempting to select records through a query with a large number of entries in the "IN" clause (> 10,000). For avoiding this error, I suggest that you could apply the latest Cumulative Updates media for SQL Server 2012 Service
    Pack 1, then simplify the query. You may try divide and conquer approach to get part of the query working (as temp table) and then add extra joins / conditions. Or You could try to run the query using the hint option (force order), option (hash join), option
    (merge join) with a plan guide.
    For more information about error 8623, you can review the following article.
    http://blogs.technet.com/b/mdegre/archive/2012/03/13/8623-the-query-processor-ran-out-of-internal-resources-and-could-not-produce-a-query-plan.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Terminate:Activity failed; there is no back end error log. - Query Designer

    Hello all,
    Has anyone encountered this erro before while using query Designer. I am trying to drag an infoobject in the rows section and I get this STOP error in message section at the bottom.
    Terminate: Activity failed; there is no back-end error log [A006(R9E)]
    Diagnosis
    An error occurred in the back end.
    System Response
    An error occurred in the back end for which there is no error message. You cannot continue to work.
    Procedure
    Exit the Query Designer and correct the error on the back end.
    Then start the query designer again.
    Procedure for System Administration
    I dont get what is going wrong here,
    Thanks,

    hi,
         There may be some problems with the connectivity in the box which you have logged in or in the excel properties itself. Try to login again and see if the problem is resolved else contact the BASIS or admin.
    Thanks,
    vrrp.

  • Parsing Query Ending in an white Page

    Hi,
    when i try to edit my report region (Oracle XE , Apex 3.1) i´m ending on a white page
    (URL .. 8080/apex/wwv_flow.accept)
    I tried to delete the region and add a new one, but same happens. I reboot the db, no luck.
    The Query is just simple:
    SELECT b.*,o.ort,s.strasse
    FROM
    telefon.brd b, telefon.brd_ort o, telefon.brd_strasse s
    where b.o_id=o.o_id and b.s_id=s.s_id
    and 1=2
    Any Ideas ?
    Thanks
    Marco

    Marco,
    have a look at Dietmar Austs posting at http://daust.blogspot.com/2008/04/troubleshooting-404-not-found-error-on.html
    Maybe by increasing the log level you get more information what goes wrong.
    When you remove the b.* does it work? BTW, 1=2 doesn't make much sense :-)
    Patrick
    *** New *** Oracle APEX Essentials *** http://essentials.oracleapex.info/
    My Blog, APEX Builder Plugin, ApexLib Framework: http://www.oracleapex.info/

Maybe you are looking for