This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Learning
Following are some of the best practices recommended when encountered with Learning functionality issues:
Aslearn process:
- Verify that the process aslearn is running.
- Check top command output
-
Check output of ps command by executing the following command:
ps -ax | grep aslearn | grep -v "grep"
Example:
root@ns\# ps -ax | grep aslearn | grep -v "grep" 1439 ?? Ss 0:03.86 /netscaler/aslearn -start -f /netscaler/aslearn.conf <!--NeedCopy-->
-
Identify recent configuration commands ran prior to the observed problem by verifying the ns.log file:
/var/log/ns.log
-
Inspect aslearn logs to check for aslearn messages:
/var/nslog/aslearn.log
-
Isolate the profile and security check that is effected
-
Identify the GUI and CLI command which is failing by executing the following command:
show appfw learningdata <profileName> <securityCheck>
Examples:
show learningdata test_profile starturl
show learningdata test_profile crosssiteScripting
show learningdata test_profile sqLInjection
show learningdata test_profile csRFtag
show learningdata test_profile fieldformat
show learningdata test_profile fieldconsistency
-
Perform integrity check of sqlite from bsd shell prompt:
nsshell # sqlite3 /var/nslog/asl/<profile_name_in_lowercase>.db 'pragma integrity_check;` <!--NeedCopy-->
Examples:
root@ns# sqlite3 /var/nslog/asl/tsk0247284.db 'pragma integrity_check;' ok <!--NeedCopy-->
-
Deploy or remove rules to start learning again:
- If 2000 learn items (per protection) are reached, you cannot start learning any more for that protection
- If 20 MB size is reached for the database, stop learning for all protections
- Restart aslearn process
/netscaler/aslearn -start -f /netscaler/aslearn.conf
-
Check the space in the /var folder by executing the following:
df -h
-
Check the learning threshold limits by executing the following command:
show appfwlearninThankgsettings <profile_name> <securityCheck>
-
Collect learned data by executing the following command:
export appfwlearningdata <profile_name> <securityCheck>
- Ascertain that learned data is uploaded in the collector.
Share
Share
In this article
This Preview product documentation is Cloud Software Group Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Cloud Software Group Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Cloud Software Group product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.