# NSM output nothing

**URL:** <https://forum.suricata.io/t/nsm-output-nothing/1292>\
**Category:** Help\
**Created:** [April 15, 2021, 2:21am UTC](https://forum.suricata.io/t/nsm-output-nothing/1292 "2021-04-15T02:21:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![w2n1ck](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/w2n1ck/32/692_2.png) [@w2n1ck](https://forum.suricata.io/u/w2n1ck)\
**Post date:** [April 15, 2021, 2:21am UTC](https://forum.suricata.io/t/nsm-output-nothing/1292/1 "2021-04-15T02:21:00Z")

</div>

I want suricata to record about NSM log。my yaml:

```
outputs:
  - fast:
  enabled: yes
  filename: fast.log
  append: yes
  #filetype: regular # 'regular', 'unix_stream' or 'unix_dgram'
  - eve-log:
  enabled: yes
  filetype: regular #regular|syslog|unix_dgram|unix_stream|redis
  filename: eve.json
  pcap-file: false
  community-id: false
  community-id-seed: 0
  ethernet: yes
  types:
    - alert:
        payload: yes
        payload-buffer-size: 8kb
        payload-printable: yes
        # http-body: yes
        http-body-printable: yes
        tagged-packets: yes
        metadata:
          app-layer: true
          flow: false
          rule:
            metadata: true
            raw: true
        xff:
          enabled: yes
          mode: extra-data
          deployment: forward
          header: X-Forwarded-For
  - eve-log:
  enabled: yes
  filetype: regular #regular|syslog|unix_dgram|unix_stream|redis
  filename: dns.json
  types:
    - dns:
        version: 2
        enabled: yes
        requests: yes
        responses: no
        # Format of answer logging:
        # - detailed: array item per answer
        # - grouped: answers aggregated by type
        # Default: all
        #formats: [detailed, grouped]
        #answer-types: [a, aaaa, cname, mx, ns, ptr, txt]
        answer-types: [a, aaaa, cname, ns]
  - eve-log:
  enabled: yes
  filetype: regular #regular|syslog|unix_dgram|unix_stream|redis
  filename: http.json
  types:
    - http:
        extended: yes
        # custom: [accept, accept-charset, accept-encoding, accept-language,
        # accept-datetime, authorization, cookie, from, proxy-authorization,
        # content-length, content-type, location, proxy-authenticate, referer, 
        # set-cookie, x-authenticated-user]
        dump-all-headers: both
  - eve-log:
  enabled: yes
  filetype: regular #regular|syslog|unix_dgram|unix_stream|redis
  filename: tls.json
  types:
    - tls:
        extended: yes
        #session-resumption: no
        #custom: [subject, issuer, session_resumed, serial, fingerprint, sni, version, not_before, not_after, certificate, chain, ja3, ja3s]
  - eve-log:
  enabled: yes
  filetype: regular #regular|syslog|unix_dgram|unix_stream|redis
  filename: file.json
  types:
    - files:
        force-magic: yes
        force-hash: [md5]
  - eve-log:
  enabled: yes
  filetype: regular #regular|syslog|unix_dgram|unix_stream|redis
  filename: ftp.json
  types:
    - ftp
  - eve-log:
  enabled: yes
  filetype: regular #regular|syslog|unix_dgram|unix_stream|redis
  filename: smb.json
  types:
    - smb
  - eve-log:
  enabled: yes
  filetype: regular #regular|syslog|unix_dgram|unix_stream|redis
  filename: ssh.json
  types:
    - ssh
  - eve-log:
  enabled: yes
  filetype: regular #regular|syslog|unix_dgram|unix_stream|redis
  filename: rdp.json
  types:
    - rdp

```

but，the ouput file is nothing！

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/suricata/original/1X/68574e0d9b182a6aeb83833714a423b525e4017d.png)

please help me! very thx!

---

<div class="post-metadata">

**Author:** ![w2n1ck](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/w2n1ck/32/692_2.png) [@w2n1ck](https://forum.suricata.io/u/w2n1ck)\
**Post date:** [April 15, 2021, 6:20am UTC](https://forum.suricata.io/t/nsm-output-nothing/1292/2 "2021-04-15T06:20:49Z")

</div>

This is Suricata version 6.0.2 RELEAS

---

<div class="post-metadata">

**Author:** ![w2n1ck](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/w2n1ck/32/692_2.png) [@w2n1ck](https://forum.suricata.io/u/w2n1ck)\
**Post date:** [April 15, 2021, 7:45am UTC](https://forum.suricata.io/t/nsm-output-nothing/1292/3 "2021-04-15T07:45:11Z")

</div>

I cant say nothing! use `kill -USR2 $PID` no work，it need `kill -9 suricat PID`, then start again.

---

<div class="post-metadata">

**Author:** ![ish](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/ish/32/8_2.png) [@ish](https://forum.suricata.io/u/ish)\
**Post date:** [April 15, 2021, 9:12pm UTC](https://forum.suricata.io/t/nsm-output-nothing/1292/4 "2021-04-15T21:12:46Z")

</div>

Please first validate the indentation of your `suricata.yaml` to make sure its like the format in the default `suricata.yaml`. Your indentation is off in the provided example which is likely to cause issues.
