Forum Discussion
JN
Nimbostratus
May 22, 2019irule to write to file (not local, not syslog)
First, whoever designed the migration of devcentral, um, just wow. Literally all the links everywhere are broken. Anyway, trying to write a basic irule that will write the client ip to a file ...
Lee_Sutcliffe
Nacreous
May 23, 2019The file handler for TCL has been disabled for traditional iRules.
I thought I could get round this by using node.js in iRules LX by using the 'fs' module. But looks like this may also be restricted as I'm getting the following error; "errno -2 code ENOENT path /var/tmp/test.txt"
when running the fs.writeFile.. function
There may be another way, but not one that I know of.
Sorry I can't be more helpful.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
