diff --git a/templates/filebeat.yml.j2 b/templates/filebeat.yml.j2
index 09a4c1fc5693310ba5c586481db09e83a0b69c5d..02c315ed0e750c408c06e03c9dd13f3854fa3c0b 100644
--- a/templates/filebeat.yml.j2
+++ b/templates/filebeat.yml.j2
@@ -20,6 +20,16 @@ filebeat.autodiscover:
 {% endif %}
 
 {% endif %}
+
+filebeat.inputs:
+- type: filestream
+  id: dpkg
+  name: "dpkg"
+  paths:
+    - /var/log/dpkg.log
+  fields:
+    source_app: "dpkg"
+
 # ================================== Outputs ===================================
 # ------------------------------ Logstash Output -------------------------------
 output.logstash: