# Filebeat Modules for Syslog-ng files not creating index

**URL:** https://discuss.elastic.co/t/filebeat-modules-for-syslog-ng-files-not-creating-index/299767
**Category:** Beats
**Tags:** filebeat
**Created:** [March 15, 2022, 5:18pm UTC](https://discuss.elastic.co/t/filebeat-modules-for-syslog-ng-files-not-creating-index/299767 "2022-03-15T17:18:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sevtech](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@sevtech](https://discuss.elastic.co/u/sevtech)
#### Post date: [March 15, 2022, 5:18pm UTC](https://discuss.elastic.co/t/filebeat-modules-for-syslog-ng-files-not-creating-index/299767/1 "2022-03-15T17:18:33Z")

</div>

I have a Syslog-NG server that has been upgraded from 7.4 to 8.0.1 via YUM on CentOS. I am new to ELK. I have mostly switch syslog data and Palo Alto FW syslog data on the Syslog -NG server. When I set the filebeat config to use the Palo Alto & Syslog modules the index on ES is not created. If I setup the manual input in filebeat for the folder with all my syslog-ng log files the index is created and and a data steam is created. The index is a ds. under hidden indices. The filebeat log debug doesn't tell me much.

```auto
## Filebeat.yml ##
  paths:
filebeat.config.modules:
  path: ${path.config}/modules.d/*.yml
  reload.enabled: false
setup.template.settings:
  index.number_of_shards: 1
setup.kibana:
  host: "172.16.23.63:5601"
output.elasticsearch:
  hosts: ["172.16.23.61:9200", "172.16.23.62:9200"]
processors:
   - add_host_metadata: ~
logging.level: debug
logging.selectors: ["publish"]
logging.to_files: true
logging.files:
  path: /var/log/filebeat
  name: filebeat-debug
  keepfiles: 7
  permissions: 0644

## panw.yml ## 
# Module: panw
# Docs: https://www.elastic.co/guide/en/beats/filebeat/7.4/filebeat-module-panw.html

- module: panw
  panos:
    enabled: true

    # Set which input to use between syslog (default) or file.
    #var.input:

    # Set custom paths for the log files. If left empty,
    # Filebeat will choose the paths depending on your OS.
    #var.paths:
# var.paths: ["/home/log/PAN/STTV-PANMGR.sttv.dea.doj.gov/**/*.log"]

    var.paths:
      - '/home/log/dtx-pan5k-node1.sttv.dea.doj.gov/**/*.log'
      - '/home/log/dtx-pan5k-node2.sttv.dea.doj.gov/**/*.log'
      - '/home/log/sptc-pan5k-node1.sttv.dea.doj.gov/**/*.log'
      - '/home/log/sptc-pan5k-node2.sttv.dea.doj.gov/**/*.log'

    var.input: "file"

## System.yml ## 
# Module: system
# Docs: https://www.elastic.co/guide/en/beats/filebeat/7.4/filebeat-module-system.html

- module: system
  # Syslog
  syslog:
    enabled: true
    #var.paths: ["/home/log/HOSTS/*/*.log"]

    # Set custom paths for the log files. If left empty,
    # Filebeat will choose the paths depending on your OS.
    #var.paths:

  # Authorization logs
# auth:
# enabled: true

    # Set custom paths for the log files. If left empty,
    # Filebeat will choose the paths depending on your OS.
    #var.paths:

## Setting defined by STVP-OPS ##
    var.paths: ["/home/log/HOSTS/**/*.log"]
    var.paths: ["/var/log/*.log"]

    var.input: "file"

```

---

<div class="post-metadata">

### Author: ![sevtech](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@sevtech](https://discuss.elastic.co/u/sevtech)
#### Post date: [March 16, 2022, 2:25pm UTC](https://discuss.elastic.co/t/filebeat-modules-for-syslog-ng-files-not-creating-index/299767/2 "2022-03-16T14:25:20Z")

</div>

I ended up turning off the PANW module and just using the SYSTEM module with syslog and it started to work.

Also I am still researching why the index is named   
.ds-filebeat-8.0.1-2022.03.15-000001 (Data Stream Index).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 13, 2022, 4:26pm UTC](https://discuss.elastic.co/t/filebeat-modules-for-syslog-ng-files-not-creating-index/299767/3 "2022-04-13T16:26:11Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
