diff --git a/assets/conf.d/darwin.yaml b/assets/conf.d/darwin.yaml index e3c4ea01..55bad659 100644 --- a/assets/conf.d/darwin.yaml +++ b/assets/conf.d/darwin.yaml @@ -28,6 +28,7 @@ receivers: process.memory.utilization: enabled: true filelog/mac/logs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/activemq.yaml.example b/assets/conf.d/examples/activemq.yaml.example index bebc8824..030c5c01 100644 --- a/assets/conf.d/examples/activemq.yaml.example +++ b/assets/conf.d/examples/activemq.yaml.example @@ -26,6 +26,7 @@ receivers: process.disk.operations: enabled: true filelog/activemqserverLogs/localhost: + storage: file_storage include_file_name: false include_file_path: true multiline: @@ -42,6 +43,7 @@ receivers: filelog/activemqauditLogs/localhost: multiline: line_start_pattern: ^\d{4}-\d{2}-\d{2}\s+\d{1,2}:\d{1,2}:\d{1,2} + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/apache.yaml.example b/assets/conf.d/examples/apache.yaml.example index 1687600e..ce07b899 100644 --- a/assets/conf.d/examples/apache.yaml.example +++ b/assets/conf.d/examples/apache.yaml.example @@ -2,6 +2,7 @@ receivers: apache/localhost: endpoint: http://localhost:80/server-status?auto filelog/apache/accessLogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -16,6 +17,7 @@ receivers: filelog/apache/errorLogs/localhost: multiline: line_start_pattern: ^\[\S{3}\s\S{3}\s\d{1,2}\s[^\]]+\].* + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/artifactory7.yaml.example b/assets/conf.d/examples/artifactory7.yaml.example index 2f8a2b15..f158d152 100644 --- a/assets/conf.d/examples/artifactory7.yaml.example +++ b/assets/conf.d/examples/artifactory7.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/artifactory/logs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -12,6 +13,7 @@ receivers: include: - /var/opt/jfrog/artifactory/logs/artifactory.log filelog/artifactory/accesslogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -24,6 +26,7 @@ receivers: include: - /var/opt/jfrog/artifactory/logs/access.log filelog/artifactory/requestlogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -36,6 +39,7 @@ receivers: include: - /var/opt/jfrog/artifactory/logs/request.log filelog/artifactory/trafficlogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/cassandra.yaml.example b/assets/conf.d/examples/cassandra.yaml.example index 8116dcfa..95a44dba 100644 --- a/assets/conf.d/examples/cassandra.yaml.example +++ b/assets/conf.d/examples/cassandra.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/cassandra/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/couchbase.yaml.example b/assets/conf.d/examples/couchbase.yaml.example index 2f996c3f..79f5be60 100644 --- a/assets/conf.d/examples/couchbase.yaml.example +++ b/assets/conf.d/examples/couchbase.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/couchbase/audit/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -12,6 +13,7 @@ receivers: include: - /opt/couchbase/var/lib/couchbase/logs/audit.log filelog/couchbase/error/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -24,6 +26,7 @@ receivers: include: - /opt/couchbase/var/lib/couchbase/logs/error.log filelog/couchbase/access/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -36,6 +39,7 @@ receivers: include: - /opt/couchbase/var/lib/couchbase/logs/http_access.log filelog/couchbase/query/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/dockeropentelemetry.yaml.example b/assets/conf.d/examples/dockeropentelemetry.yaml.example index cbffac8c..95131e69 100644 --- a/assets/conf.d/examples/dockeropentelemetry.yaml.example +++ b/assets/conf.d/examples/dockeropentelemetry.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/docker/events/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/elasticsearch.yaml.example b/assets/conf.d/examples/elasticsearch.yaml.example index a194d103..584ace6e 100644 --- a/assets/conf.d/examples/elasticsearch.yaml.example +++ b/assets/conf.d/examples/elasticsearch.yaml.example @@ -34,6 +34,7 @@ receivers: elasticsearch.index.cache.size: enabled: true filelog/elasticsearch/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/haproxy.yaml.example b/assets/conf.d/examples/haproxy.yaml.example index a7c6cc74..4e090c73 100644 --- a/assets/conf.d/examples/haproxy.yaml.example +++ b/assets/conf.d/examples/haproxy.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/haproxy/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/iis_10.yaml.example b/assets/conf.d/examples/iis_10.yaml.example index c3963d97..38751cb2 100644 --- a/assets/conf.d/examples/iis_10.yaml.example +++ b/assets/conf.d/examples/iis_10.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/iis/accesslogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -12,6 +13,7 @@ receivers: include: - C:\inetpub\Logs\LogFiles\W3SVC**.log filelog/iis/httperrorlogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/jiraopentelemetry.yaml.example b/assets/conf.d/examples/jiraopentelemetry.yaml.example index f0ecb7d1..3d030bf9 100644 --- a/assets/conf.d/examples/jiraopentelemetry.yaml.example +++ b/assets/conf.d/examples/jiraopentelemetry.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/jira/accesslogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -12,6 +13,7 @@ receivers: include: - /var/log/apache2/*.log filelog/jira/securitylogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -24,6 +26,7 @@ receivers: include: - /home/jira/atlassian/application-data/jira/log/atlassian-jira-security.log filelog/jira/catalinalogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/kafka.yaml.example b/assets/conf.d/examples/kafka.yaml.example index e967968d..d5d40f09 100644 --- a/assets/conf.d/examples/kafka.yaml.example +++ b/assets/conf.d/examples/kafka.yaml.example @@ -7,6 +7,7 @@ receivers: - consumers brokers: localhost:9092 filelog/kafka/serverLogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -21,6 +22,7 @@ receivers: filelog/kafka/controllerLogs/localhost: multiline: line_start_pattern: ^\[\S{3}\s\S{3}\s\d{1,2}\s[^\]]+\].* + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/linux.yaml.example b/assets/conf.d/examples/linux.yaml.example index 20529a98..42f54640 100644 --- a/assets/conf.d/examples/linux.yaml.example +++ b/assets/conf.d/examples/linux.yaml.example @@ -43,6 +43,7 @@ receivers: process.disk.operations: enabled: true filelog/linux/logs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/linux_csma.yaml.example b/assets/conf.d/examples/linux_csma.yaml.example index 3dbe896b..796e06df 100644 --- a/assets/conf.d/examples/linux_csma.yaml.example +++ b/assets/conf.d/examples/linux_csma.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/linux/logs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/mac.yaml.example b/assets/conf.d/examples/mac.yaml.example index e3c4ea01..55bad659 100644 --- a/assets/conf.d/examples/mac.yaml.example +++ b/assets/conf.d/examples/mac.yaml.example @@ -28,6 +28,7 @@ receivers: process.memory.utilization: enabled: true filelog/mac/logs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/mariadb.yaml.example b/assets/conf.d/examples/mariadb.yaml.example index b750a95f..2df44e01 100644 --- a/assets/conf.d/examples/mariadb.yaml.example +++ b/assets/conf.d/examples/mariadb.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/mariadb/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -14,6 +15,7 @@ receivers: filelog/mariadb/slow_transcations/localhost: multiline: line_start_pattern: ^#\sTime:\s. + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/memcached.yaml.example b/assets/conf.d/examples/memcached.yaml.example index cac857b9..58c59f12 100644 --- a/assets/conf.d/examples/memcached.yaml.example +++ b/assets/conf.d/examples/memcached.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/memcached/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/mongodb.yaml.example b/assets/conf.d/examples/mongodb.yaml.example index 329ea058..3aaf7823 100644 --- a/assets/conf.d/examples/mongodb.yaml.example +++ b/assets/conf.d/examples/mongodb.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/mongodb/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/mysql.yaml.example b/assets/conf.d/examples/mysql.yaml.example index 38568fb8..45f76c60 100644 --- a/assets/conf.d/examples/mysql.yaml.example +++ b/assets/conf.d/examples/mysql.yaml.example @@ -40,6 +40,7 @@ receivers: filelog/mysql/localhost: multiline: line_start_pattern: ^\d{4}-\d{2}-\d{2}T\d{1,2}:\d{1,2}:\d{1,2}.* + storage: file_storage include_file_name: false include_file_path: true operators: @@ -54,6 +55,7 @@ receivers: filelog/mysql/slow_transcations/localhost: multiline: line_start_pattern: ^#\sTime:\s.* + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/nginx.yaml.example b/assets/conf.d/examples/nginx.yaml.example index 7fed1860..5ce20821 100644 --- a/assets/conf.d/examples/nginx.yaml.example +++ b/assets/conf.d/examples/nginx.yaml.example @@ -2,6 +2,7 @@ receivers: nginx/localhost: endpoint: http://localhost:80/status filelog/nginx/accessLogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -16,6 +17,7 @@ receivers: filelog/nginx/errorLogs/localhost: multiline: line_start_pattern: ^\[\S{3}\s\S{3}\s\d{1,2}\s[^\]]+\].* + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/oracle.yaml.example b/assets/conf.d/examples/oracle.yaml.example index 10af36a2..b3966173 100644 --- a/assets/conf.d/examples/oracle.yaml.example +++ b/assets/conf.d/examples/oracle.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/oracle/alertlogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -12,6 +13,7 @@ receivers: include: - /var/log/oracle/alertlogs/oracle*.log filelog/oracle/listenerlogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -24,6 +26,7 @@ receivers: include: - /var/log/oracle/listernerlogs/oracle*.log filelog/oracle/auditlogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/pcicomplianceforlinuxopentelemetry.yaml.example b/assets/conf.d/examples/pcicomplianceforlinuxopentelemetry.yaml.example index d2fe4256..c619ad2d 100644 --- a/assets/conf.d/examples/pcicomplianceforlinuxopentelemetry.yaml.example +++ b/assets/conf.d/examples/pcicomplianceforlinuxopentelemetry.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/PCILinux/logs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/postgresql.yaml.example b/assets/conf.d/examples/postgresql.yaml.example index 74666eb8..1a73c7f0 100644 --- a/assets/conf.d/examples/postgresql.yaml.example +++ b/assets/conf.d/examples/postgresql.yaml.example @@ -5,6 +5,7 @@ receivers: password: null transport: tcp filelog/postgresql/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/puppetopentelemetry.yaml.example b/assets/conf.d/examples/puppetopentelemetry.yaml.example index 1dc3610f..effa4d45 100644 --- a/assets/conf.d/examples/puppetopentelemetry.yaml.example +++ b/assets/conf.d/examples/puppetopentelemetry.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/puppet/serverlogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -12,6 +13,7 @@ receivers: include: - /var/log/puppetlabs/puppetserver/puppetserver.log filelog/puppet/serveraccesslogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -24,6 +26,7 @@ receivers: include: - /var/log/puppetlabs/puppetserver/puppetserver-access.log filelog/puppet/reportlogs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/rabbitmq.yaml.example b/assets/conf.d/examples/rabbitmq.yaml.example index 3e2b0e94..74c9ae2c 100644 --- a/assets/conf.d/examples/rabbitmq.yaml.example +++ b/assets/conf.d/examples/rabbitmq.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/rabbitmq/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/redis.yaml.example b/assets/conf.d/examples/redis.yaml.example index 747d424b..ec9ee107 100644 --- a/assets/conf.d/examples/redis.yaml.example +++ b/assets/conf.d/examples/redis.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/redis/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/sqlserver-linux.yaml.example b/assets/conf.d/examples/sqlserver-linux.yaml.example index 4fe68631..ebe4c1d0 100644 --- a/assets/conf.d/examples/sqlserver-linux.yaml.example +++ b/assets/conf.d/examples/sqlserver-linux.yaml.example @@ -1,6 +1,7 @@ receivers: filelog/sqlserver/linux/localhost: encoding: utf-16le + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/sqlserver-windows.yaml.example b/assets/conf.d/examples/sqlserver-windows.yaml.example index 0095bfab..7fa0f08b 100644 --- a/assets/conf.d/examples/sqlserver-windows.yaml.example +++ b/assets/conf.d/examples/sqlserver-windows.yaml.example @@ -1,8 +1,16 @@ receivers: sqlserver/localhost: collection_interval: 10s + computer_name: ip-172-31-23-44 + instance_name: analyticsDB + resource_attributes: + sqlserver.computer.name: + enabled: true + sqlserver.instance.name: + enabled: true filelog/sqlserver/windows/localhost: encoding: utf-16le + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/squid.yaml.example b/assets/conf.d/examples/squid.yaml.example index 81e3abec..f5a29ada 100644 --- a/assets/conf.d/examples/squid.yaml.example +++ b/assets/conf.d/examples/squid.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/squidproxy/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/tomcat.yaml.example b/assets/conf.d/examples/tomcat.yaml.example index 925b3fd0..ed149571 100644 --- a/assets/conf.d/examples/tomcat.yaml.example +++ b/assets/conf.d/examples/tomcat.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/tomcat/access/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -12,6 +13,7 @@ receivers: include: - /usr/share/tomcat/logs/access.log filelog/tomcat/catalina/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: @@ -24,6 +26,7 @@ receivers: include: - /usr/share/tomcat/logs/catalina.log filelog/tomcat/gc/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/examples/varnish.yaml.example b/assets/conf.d/examples/varnish.yaml.example index 4a91860f..80a368c2 100644 --- a/assets/conf.d/examples/varnish.yaml.example +++ b/assets/conf.d/examples/varnish.yaml.example @@ -1,5 +1,6 @@ receivers: filelog/varnish/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: diff --git a/assets/conf.d/linux.yaml b/assets/conf.d/linux.yaml index 20529a98..42f54640 100644 --- a/assets/conf.d/linux.yaml +++ b/assets/conf.d/linux.yaml @@ -43,6 +43,7 @@ receivers: process.disk.operations: enabled: true filelog/linux/logs/localhost: + storage: file_storage include_file_name: false include_file_path: true operators: