{"id":75,"date":"2007-02-04T14:12:40","date_gmt":"2007-02-04T19:12:40","guid":{"rendered":"http:\/\/raffy.ch\/blog\/2007\/02\/04\/anonymizing-log-entries\/"},"modified":"2007-02-04T14:12:40","modified_gmt":"2007-02-04T19:12:40","slug":"anonymizing-log-entries","status":"publish","type":"post","link":"https:\/\/raffy.ch\/blog\/2007\/02\/04\/anonymizing-log-entries\/","title":{"rendered":"Anonymizing Log Entries"},"content":{"rendered":"<p>I am finally biting the bullet. I will start to really anonymize my graphs. In order to do so, I was trying to find a tool on the Web which does that. Well, as you can probably imagine, there is non which does exactly what I wanted. So i wrote my own <a title=\"Anonymizer in Perl\" href=\"http:\/\/afterglow.cvs.sourceforge.net\/afterglow\/afterglow\/src\/perl\/graph\/anonymize.pl?view=log\">anonymization script<\/a>. To safe you some hassle, also download the <a xhref=\"http:\/\/afterglow.cvs.sourceforge.net\/afterglow\/afterglow\/src\/perl\/graph\/Anonymous.pm?view=log\">Anonymous.pm<\/a> file.<\/p>\n<p>This is how you use the script on a CSV file:<\/p>\n<p><code> cat \/tmp\/log | .\/anonymize.pl -c 1 -p user<\/p>\n<p>This will replace all the values in column one with usernames of the form: \"userX\". If you are anonymizing IP addresses, run the tool without the prefix (-p) and it will do that automatically for you.<\/p>\n<p>Credits to\u00c2\u00a0 John Kristoff who wrote the Anonymous.pm module for Perl.<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am finally biting the bullet. I will start to really anonymize my graphs. In order to do so, I was trying to find a tool on the Web which does that. Well, as you can probably imagine, there is non which does exactly what I wanted. So i wrote my own anonymization script. To [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,2],"tags":[],"class_list":["post-75","post","type-post","status-publish","format-standard","hentry","category-log-analysis","category-visualization"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/posts\/75","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/comments?post=75"}],"version-history":[{"count":0,"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/posts\/75\/revisions"}],"wp:attachment":[{"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/media?parent=75"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/categories?post=75"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/tags?post=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}