{"action":"created","issue":{"url":"https://api.github.com/repos/nbs-system/naxsi/issues/231","labels_url":"https://api.github.com/repos/nbs-system/naxsi/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/nbs-system/naxsi/issues/231/comments","events_url":"https://api.github.com/repos/nbs-system/naxsi/issues/231/events","html_url":"https://github.com/nbs-system/naxsi/issues/231","id":112544603,"number":231,"title":"Use nxapi generate whitelist, did not generate data！","user":{"login":"orright","id":15228575,"avatar_url":"https://avatars.githubusercontent.com/u/15228575?v=3","gravatar_id":"","url":"https://api.github.com/users/orright","html_url":"https://github.com/orright","followers_url":"https://api.github.com/users/orright/followers","following_url":"https://api.github.com/users/orright/following{/other_user}","gists_url":"https://api.github.com/users/orright/gists{/gist_id}","starred_url":"https://api.github.com/users/orright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orright/subscriptions","organizations_url":"https://api.github.com/users/orright/orgs","repos_url":"https://api.github.com/users/orright/repos","events_url":"https://api.github.com/users/orright/events{/privacy}","received_events_url":"https://api.github.com/users/orright/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-21T09:16:23Z","updated_at":"2015-10-26T03:33:12Z","closed_at":null,"body":"error.log\r\n[root@localhost bin]# grep NAXSI_FMT /usr/local/nginx/logs/error.log\r\n2015/10/20 13:40:28 [error] 28677#0: *1 NAXSI_FMT: ip=192.168.100.212&server=192.168.100.222&uri=/&learning=0&vers=0.54&total_processed=1&total_blocked=1&block=1&cscore0=$XSS&score0=8&zone0=ARGS&id0=1302&var_name0=a, client: 192.168.100.212, server: localhost, request: \"GET /?a=%3C HTTP/1.1\", host: \"192.168.100.222\"\r\n2015/10/20 13:41:43 [error] 28677#0: *12 NAXSI_FMT: ip=192.168.100.212&server=192.168.100.222&uri=/&learning=0&vers=0.54&total_processed=4&total_blocked=2&block=1&cscore0=$XSS&score0=8&zone0=ARGS&id0=1302&var_name0=a, client: 192.168.100.212, server: localhost, request: \"GET /?a=%3C HTTP/1.1\", host: \"192.168.100.222\"\r\n\r\n[root@localhost nxapi]#  ./nxtool.py -x --colors -c nxapi.json --files=/usr/local/nginx/logs/error.log\r\n# size :1000\r\n# Whitelist(ing) ratio :\r\n# Top servers :\r\n# Top URI(s) :\r\n# Top Zone(s) :\r\n# Top Peer(s) :\r\n[root@localhost nxapi]# \r\n\r\nI do not know what the reasons are, help me！ ths！"},"comment":{"url":"https://api.github.com/repos/nbs-system/naxsi/issues/comments/151014192","html_url":"https://github.com/nbs-system/naxsi/issues/231#issuecomment-151014192","issue_url":"https://api.github.com/repos/nbs-system/naxsi/issues/231","id":151014192,"user":{"login":"AnoopAlias","id":8059431,"avatar_url":"https://avatars.githubusercontent.com/u/8059431?v=3","gravatar_id":"","url":"https://api.github.com/users/AnoopAlias","html_url":"https://github.com/AnoopAlias","followers_url":"https://api.github.com/users/AnoopAlias/followers","following_url":"https://api.github.com/users/AnoopAlias/following{/other_user}","gists_url":"https://api.github.com/users/AnoopAlias/gists{/gist_id}","starred_url":"https://api.github.com/users/AnoopAlias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnoopAlias/subscriptions","organizations_url":"https://api.github.com/users/AnoopAlias/orgs","repos_url":"https://api.github.com/users/AnoopAlias/repos","events_url":"https://api.github.com/users/AnoopAlias/events{/privacy}","received_events_url":"https://api.github.com/users/AnoopAlias/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T03:33:12Z","updated_at":"2015-10-26T03:33:12Z","body":"Yes it works if we omit the -x switch . I think it's a mistake in the documentation"}}