Author |
Message
|
pkdec |
Posted: Tue Aug 18, 2015 12:55 pm Post subject: Append timestamp to file content |
|
|
 Acolyte
Joined: 12 Feb 2015 Posts: 66 Location: Canada, QC
|
Hi,
I am using fileOutput node to write a log file in local system directory.
I have selected Mode for writing to file
--Write directly to output file(append if file exist)
I want to add timestamp inside the file.
I have compute node before fileoutput node in my flow.
Looking for response thanks |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Aug 18, 2015 1:36 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Moved to Message Broker forum _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Aug 19, 2015 4:21 am Post subject: Re: Append timestamp to file content |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
pkdec wrote: |
I want to add timestamp inside the file.
I have compute node before fileoutput node in my flow. |
Then write some ESQL to do that.
Was there actually a question? Or should we just assume that you've already tried something like that (which you've not mentioned) , and it didn't work (for reasons you've not mentioned)? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Aug 19, 2015 5:49 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You have a compute node before a FileInput?
That's an awesome trick! How'd you manage it? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Aug 19, 2015 5:53 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
You have a compute node before a FileInput?
That's an awesome trick! How'd you manage it? |
pkdec wrote: |
I have compute node before fileoutput node in my flow. |
Put fresh batteries in your glasses. Drink more
(Ah, , how I miss you..... ) _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Aug 19, 2015 6:23 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
mqjeff wrote: |
You have a compute node before a FileInput?
That's an awesome trick! How'd you manage it? |
pkdec wrote: |
I have compute node before fileoutput node in my flow. |
Put fresh batteries in your glasses. |
Vitor wrote: |
Drink more  |
Vitor wrote: |
(Ah, , how I miss you..... ) |
I would  |
|
Back to top |
|
 |
|