Your organization may desire to change the location of where the monitoring agent logs are saved. To do this, please do the following:
1. Using a text editor, open the file C:\ProgramData\Sisense\Infra\Data\Shipper\Config\shipper.conf
2. At the end of this file, there's a path inside the file object:
file { path=>"C:\ProgramData\Sisense\Infra\Data\Shipper\Output\%{+YYYY-MM-dd}-%{host}-%{sisenseOwnerid}-events.gz" gzip=>true}
Change the bold path into your directory of choice.
For Sisense versions 6.6 and below:
The monitoring agent logs its files to a default local drive on the server (C:\ProgramData\Sisense\Infra\AgentOutputs). Follow the steps below to change the log file writing to a different directory:
Prerequisites:
- A folder to hold the new location of the log file.
- Monitoring installed.
To change the log file writing to a different directory:
- Using a text editor, open the file C:\Program Files\Sisense\Monitoring Agent\logstash\bin\InfraAgent.exe.config
- Locate the <add key="logstashOfflineModeOutput" tag.
- Add the text in bold (in the example below, we're backing up to directory D:\OfflineMonitorLogs)
- <add key="logstashOfflineModeOutput" value="file { archive_folder => "D:\OfflineMonitorLogs" path=>"###PLACE_HOLDER###\%{host}-%{sisenseOwnerid}-events-%{+YYYY-MM-dd-HH}.gz" gzip=>true archive=>true}" />
- Save the file and exit the text editor.