InTouch - Historical Logging (настройки архивирования)

Сервер БД Historian, ранее InSQL

InTouch - Historical Logging (настройки архивирования)

Сообщение engineer_ua » Чт окт 17, 2019 5:40 pm

Добрый день,
не могли бы подсказать как в обычном InTouch (не Historian Server) можно настроить архивирование трендов,
а именно,
с какой частотой создавать архивный файл (например я хотел бы с частотой 7 дней),
и есть ли возможность, чтобы при уменьшении места на диске (где хранятся архивные файлы), система автоматически начала удалять "старые" файлы?
аналогичный функционал как у Historian Server Circular->Deletion theshold.

в настройках Historical Logging Properties нашел только параметр Keep Log Files for ... например 1000 дней.

Изображение
engineer_ua
 
Сообщения: 226
Зарегистрирован: Пн мар 23, 2015 1:49 pm

Re: InTouch - Historical Logging (настройки архивирования)

Сообщение NewOrdered » Чт окт 17, 2019 5:55 pm

Все есть в документации:
InTouch® User’s Guide
Configuring Historical Logging Properties

3. Select Enable Historical Logging to turn on global tagname logging.
4. In the Keep Log Files for box, type the number of days' (prior to today) log files that you want to keep saved to disk.
InTouch will create and save two historical log files each day (24 hours). Therefore, disk space must be considered when you set this value. If your hard disk does not have enough free space to save a historical log file, logging will stop and you must free disk space then restart logging. You
can start and stop historical logging in runtime by linking the $HistoricalLogging internal tagname to a button or QuickScript or by using the Restart Historical Logging Command in WindowViewer.
For example, if you type 10 and today is the 12th day of the month, the log files for the 2nd through the 12th (10 days plus today) will be save on disk.
The file for the 1st will automatically be deleted. If you type a zero, the log files are kept indefinitely.
5. Select Store Log Files in Application Directory if you want the historical log file to be saved in your application directory. Or, select Store Log Files in specific Directory and type the complete path to the directory that you want to use.
NewOrdered
 
Сообщения: 232
Зарегистрирован: Пн ноя 15, 2010 7:48 am
Откуда: Kaliningrad


Вернуться в Historian Server

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 4

cron