Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
To record the logs of components. I have used tStatCatcher--> tjavaflex--> tfileoutputdelimited.
I want to change the columns name of tstatcatcher,s schema when it is loaded to
tfileoutputdelimited.
In tjavaflex I tried as,
row2.Date_Time=row1.moment;
row2.pid=row1.pid;
row2.project=row1.project;
Its loading data only for pid and project columns. The Date_time colmn is null in the output file.
How to deal with this?
did yo write the code in the "Main Code" block of tJavaFlex?
@Shalini M , you can not change in the tstatcatcher,you have to change after tstatcatcher by using tjavaflex or tjavarow or tmap.
Thanks,
Manohar
@Manohar B I've changed the columns in tjavaflex component. And connected to the output file.
@Shalini M ,Is it working?
Thanks,
Manohar
No @Manohar B, The changed name column was null. The data was not loaded.
did yo write the code in the "Main Code" block of tJavaFlex?
@prakhar dubey I wrote the code in 'start code'. But now I have changed to 'main code' block and it worked. Thank you. 🙂
@Shalini M your welcome 🙂