설치를 마치면 liagent.ini 파일에는 Log Insight Linux Agent에 대해 미리 구성된 기본 설정이 포함됩니다.
vRealize Log Insight Linux Agent liagent.ini 기본 구성
ASCII가 아닌 이름과 값을 사용하는 경우 구성을 UTF-8로 저장합니다.
중앙 구성을 사용하는 경우, 이 파일의 최종 구성이 서버의 설정과 연결되어 liagent-effective.ini 파일을 형성합니다.
서버의 에이전트 페이지에서 설정을 구성하는 것이 더 효율적일 수 있습니다.
[server] ; Hostname or IP address of your Log Insight server / cluster load balancer. Default: ;hostname=LOGINSIGHT ;Enables or deactivates centralized configuration from the vRealize Log Insight server. ;When enabled, agent configuration changes made to the liagent.ini file on the server ;are joined with the settings in this file. to this agent. Accepted values are yes or no and 0 or 1. ;The default is yes. ; ;central_config=yes ; ; ; Protocol can be cfapi (Log Insight REST API), syslog. Default: ;proto=cfapi ; Log Insight server port to connect to. Default ports for protocols (all TCP): ; syslog: 514; syslog with ssl: 6514; cfapi: 9000; cfapi with ssl: 9543. Default: ;port=9543 ; SSL usage. Default: ;ssl=yes ; Example of configuration with trusted CA: ;ssl=yes ;ssl_ca_path=/etc/pki/tls/certs/ca.pem ; Time in minutes to force reconnection to the server. ; This option mitigates imbalances caused by long-lived TCP connections. Default: ;reconnect=30 ; FIPS mode. ; Possible values are 1 or 0. If omitted the default value is 1. ; ssl_fips_mode=1 [logging] ; Logging verbosity: 0 (no debug messages), 1 (essentials), 2 (verbose with more impact on performance). ; This option should always be 0 under normal operating conditions. Default: ;debug_level=0 [storage] ; Max local storage usage limit (data + logs) in MBs. Valid range: 100-2000 MB. ;max_disk_buffer=2000 ; Uncomment the appropriate section to collect system logs ; The recommended way is to enable the Linux content pack from LI server ;[filelog|syslog] ;directory=/var/log ;include=messages;messages.?;syslog;syslog.?
| 매개 변수 | 기본값 | 설명 |
|---|---|---|
| hostname | LOGINSIGHT |
vRealize Log Insight 가상 장치의 IP 주소 또는 호스트 이름입니다. 기본값은 loginsight입니다. |
| central_config | yes |
이 에이전트에 대한 중앙 집중식 구성을 활성화하거나 비활성화합니다. 중앙 집중식 구성이 비활성화되면 에이전트는 vRealize Log Insight 서버에서 제공하는 구성을 무시합니다. 허용되는 값은 |
| proto | cfapi |
에이전트의 로그 이벤트가 vRealize Log Insight 서버로 전송되는 데 사용되는 프로토콜입니다. 가능한 값은 기본값은 cfapi입니다. |
| port | 9543, 9000, 6514 및 514 | 에이전트의 이벤트가 vRealize Log Insight 서버로 전송되는 데 사용되는 통신 포트입니다. 기본값은 SSL이 사용되는 cfapi의 경우 9543, SSL이 비활성화된 cfapi의 경우 9000, SSL이 사용되는 syslog의 경우 6514, SSL이 비활성화된 syslog의 경우 514입니다. |
| ssl | yes |
SSL을 사용하거나 비활성화합니다. 기본값은 yes입니다.
|
| max_disk_buffer | 200 | Log Insight Linux Agent에서 이벤트 및 자체 로그를 버퍼링하는 데 사용하는 MB 단위의 최대 디스크 공간입니다. 지정된 max_disk_buffer에 도달하면 에이전트를 새로 들어오는 이벤트를 삭제하기 시작합니다. |
| debug_level | 0 | 로그 세부 정보 수준을 정의합니다. Log Insight Agents의 로그 세부 정보 수준 정의 항목을 참조하십시오. |
| ssl_fips_mode | 1 | liagent.ini 파일을 통해 Log Insight Linux Agent에 대해 FIPS 모드를 사용하거나 비활성화합니다. 허용되는 값은 1과 0입니다. |