Forum Discussion
Thiago_Morais_2
Nimbostratus
Apr 23, 2019Clear iRule info in the ltm log file
Folks,
I was making some tests by using iRules and when I finished the configuration, I still see in the LTM log file the traffic of old iRules. There is a way to clear these pieces of informati...
Apr 24, 2019
You could use sed for this task. For example, in my /var/log/ltm file I see entries like:
Apr 24 12:31:01 nielsvs-bigip.vosko.lab info sdmd[6492]: 018e0017:6: pid[11267] plugin[/Common/office365_endpoints_plugin.office365_endpoints_extension] info: latest version available is: 2019032800
Apr 24 12:31:01 nielsvs-bigip.vosko.lab info sdmd[6492]: 018e0017:6: pid[11266] plugin[/Common/office365_endpoints_plugin.office365_endpoints_extension] info: latest version available is: 2019032800
These entries can be removed by using sed:
sed -i '/office365_endpoints_plugin.office365_endpoints_extension/d' /var/log/ltm
After this you'll need to restart syslog-ng.
bigstart restart syslog-ng
Make sure that you use an expression that only matches the lines you want to remove.
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