Hitachi Vantara Pentaho Community Forums
Results 1 to 6 of 6

Thread: How to save log output file, with a field "Step-Name" with the step info.

  1. #1
    Join Date
    Nov 2013
    Posts
    6

    Post How to save log output file, with a field "Step-Name" with the step info.

    Name:  spoon-help.jpg
Views: 126
Size:  20.4 KB

    Hello Everyone,
    I want to save a log file(.xls), with a column/field "Step-name".
    The column must display the name of the steps, in which error has occurred.

    Like consider the file I've uploaded.
    1. For "data-validator" step, in its settings, I've used "${Internal.Step.Name}" variable as a value in "error description".
    Such that if there would be an error, then in the log file, the "error-description" field would show the step name, i.e., "Data validator".

    2. Similarly, this happens for the unique rows.


    3. But for the "database lookup" & "Table-output" steps, its not possible.
    Tell me the solution for this, please.

    I'm uploading snapshots of the files, to make you understand what I want.
    Thank You.


    Name:  spoon-help.jpg
Views: 126
Size:  20.4 KB

    sample2.xls

    Books.xls

  2. #2
    Join Date
    Nov 2013
    Posts
    6

    Default

    SOMEONE PLEASE TELL, ANY IDEA....
    ITS URGENT !!

  3. #3
    Join Date
    Nov 2013
    Posts
    10

    Default

    Hello, on windows, you can use preview function.

    on any platform you can set the output level to Debug or Rowlevel for debugging. http://wiki.pentaho.com/display/EAI/...+Documentation

    I don't think I need the thing you are asking for.

  4. #4
    Join Date
    Nov 2008
    Posts
    777

    Default

    Quote Originally Posted by anuj2luv View Post
    I want to save a log file(.xls), with a column/field "Step-name".
    The column must display the name of the steps, in which error has occurred.
    How about placing an Add Constants step - with a field that defines the source step name - on the "error" side of each step you have enabled error handling for?
    pdi-ce-4.4.0-stable
    Java 1.7 (64 bit)
    MySQL 5.6 (64 bit)
    Windows 7 (64 bit)

  5. #5
    Join Date
    Nov 2013
    Posts
    6

    Default

    Well thank you sir.
    I'll try this.

    And again thank you, I got something related to your suggestion also.

  6. #6
    Join Date
    Nov 2013
    Posts
    6

    Default

    Quote Originally Posted by Cheyennesmith View Post
    i need some more good ideas for this thing to get assisted with it a lot
    so, how can I help you...tell me??

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.