{"id":274,"date":"2008-04-26T10:49:45","date_gmt":"2008-04-26T08:49:45","guid":{"rendered":"http:\/\/contoso.se\/blog\/?p=274"},"modified":"2008-04-26T10:49:45","modified_gmt":"2008-04-26T08:49:45","slug":"logfile-name","status":"publish","type":"post","link":"http:\/\/contoso.se\/blog\/?p=274","title":{"rendered":"Logfile name"},"content":{"rendered":"<p>When you create monitors or rules to check logfiles you might want to include both the logfile directory and logfile name in the alert description. You can do that with the following parameters<\/p>\n<p>For monitor:<br \/>\nLogfile Directory : $Data\/Context\/LogFileDirectory$<br \/>\nLogfile name: $Data\/Context\/LogFileName$<br \/>\nString: $Data\/Context\/Params\/Param[1]$<\/p>\n<p>For rule:<br \/>\nLogfile Directory : $Data\/EventData\/DataItem\/LogFileDirectory$<br \/>\nLogfile name: $Data\/EventData\/DataItem\/LogFileName$<br \/>\nString: \u00c2\u00a0$Data\/EventData\/DataItem\/Params\/Param[1]$<\/p>\n<p>Kevin Holman, a premier field engineer at Microsoft, has a great list of parameters at his blog, <a href=\"http:\/\/blogs.technet.com\/kevinholman\/about.aspx\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you create monitors or rules to check logfiles you might want to include both the logfile directory and logfile name in the alert description. You can do that with the following parameters For monitor: Logfile Directory : $Data\/Context\/LogFileDirectory$ Logfile name: $Data\/Context\/LogFileName$ String: $Data\/Context\/Params\/Param[1]$ For rule: Logfile Directory : $Data\/EventData\/DataItem\/LogFileDirectory$ Logfile name: $Data\/EventData\/DataItem\/LogFileName$ String: \u00c2\u00a0$Data\/EventData\/DataItem\/Params\/Param[1]$ &hellip; <a href=\"http:\/\/contoso.se\/blog\/?p=274\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[19],"tags":[],"_links":{"self":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/274"}],"collection":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=274"}],"version-history":[{"count":0,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/274\/revisions"}],"wp:attachment":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=274"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}