Agents
Agents is a data collector for your logs.
Agents Configuration
Agent configurations are located in the /etc/fugo/agents
directory. Each agent is defined in its own YAML file - the file name is used as the agent name, and the file extension should be .yaml
.
Agents can be defined with the following parameters:
fields
: A list of fields to store in the log recordsfile
: Configuration for file-based inputretention
: Configuration for log retention
Fields
For more detailed information, see the Fields documentation.
Inputs
Inputs is a data source for your logs. Read more:
Retention Configuration
Retention configuration has the following options:
period
: The retention period for the logs. It can be specified in minutes, hours, days (e.g.,3h
,7d
,3d12h
). Default is3d
.interval
: The interval for log retention. It can be specified in minutes, hours, days (e.g.,10m
,1h
). Default is1h
.