Open current BES Client Log file - BareTail - Windows
Log In or Register to download the BES file, and more.

0 Votes

Description

<enter a description of the task here>

Property Details

ID24457
StatusAlpha - Code that was just developed
TitleOpen current BES Client Log file - BareTail - Windows
DomainBESC
SourceInternal
Source Release Date6/12/2017 12:00:00 AM
Is TaskTrue
Added by on 6/14/2017 10:16:08 AM
Last Modified by on 6/14/2017 10:16:08 AM
Counters 2463 Views / 14 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

isWindows (Relevance 1172)
Used in 1130 fixlets and 535 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 5 fixlets   * Results in a true/false
Show indented relevance
exists files whose(name of it as lowercase ends with ((current year as string) & (current month as two digits as string) & (current day_of_month as two digits as string) & ".log")) of folders "__Global\Logs" of data folders of client
Used in 4 fixlets   * Results in a true/false
Show indented relevance
exists (it as string) whose(it contains name of logged on users) of members of local groups "Administrators"
Used in 1 fixlet   * Results in a true/false
Show indented relevance
not exists processes "baretail.exe"

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
// TODO: probably need to adjust permissions on the BigFix Logs folder to add read permission for admins if not already there.

prefetch baretail.exe sha1:2aa7d3806d614fd9e1e6b099d134784a98b6dd9e size:225280 https://www.baremetalsoft.com/baretail/download.php?p=m sha256:160d6a3bdc9d64677643376f82e559eb4112289e6b6d722b5b3b32699d18bca9

// This folder should already exist. Not sure if there is a better folder option for this.
folder create C:\ProgramData\BigFix

delete C:\ProgramData\BigFix\baretail.exe

copy __Download\baretail.exe C:\ProgramData\BigFix\baretail.exe

override run
runas=currentuser
run C:\ProgramData\BigFix\baretail.exe "{pathname of files whose(name of it as lowercase ends with ((current year as string) & (current month as two digits as string) & (current day_of_month as two digits as string) & ".log")) of folders "__Global\Logs" of data folders of client}"

// Related:
// - http://www.baremetalsoft.com/baretail/usage.php
// - https://bigfix.me/fixlet/details/6090
// - http://alternativeto.net/software/glogg/
// - http://alternativeto.net/software/logexpert/
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!