Uploaded image for project: 'Logging analytics'
  1. Logging analytics
  2. LOG-801

Logstash log level management to reduce NFS footprint

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Medium
    • Resolution: Won't Do
    • None
    • Frankfurt Release

    Description

      Need rotation for cassandra logs in particular for SDC

      20190102:0000
      buntu@a-cd-cas0:~$ free
                    total        used        free      shared  buff/cache   available
      Mem:      264138952   164980116    25784428      341904    73374408    87294840
      Swap:             0           0           0
      ubuntu@a-cd-cas0:~$ df
      Filesystem     1K-blocks      Used Available Use% Mounted on
      udev           132058848         0 132058848   0% /dev
      tmpfs           26413896     77116  26336780   1% /run
      /dev/sda1      389255816 131980092 257259340  34% /
      tmpfs          132069476     80880 131988596   1% /dev/shm
      tmpfs               5120         0      5120   0% /run/lock
      tmpfs          132069476         0 132069476   0% /sys/fs/cgroup
      /dev/sdb1      528315000     71452 501383676   1% /mnt
      tmpfs           26413896         0  26413896   0% /run/user/1000
      
      
      295643532	.
      280598460	./var
      13311316	./dockerdata-nfs
      1049684	./usr
      392784	./lib
      113372	./home
      76984	./run
      65208	./boot
      15972	./bin
      13728	./sbin
      5856	./etc
      
      root@a-cd-cas0:/dockerdata-nfs# du --max-depth=1 | sort -nr
      13327540	.
      3226504	./onap-sdc
      2736720	./onap-so
      1751916	./onap-log
      1733212	./onap-dmaap
      1016672	./onap-appc
      848848	./onap-sdnc
      441396	./onap-oof
      378632	./onap-aaf
      236368	./onap-policy
      217668	./onap-portal
      189192	./onap-clamp
      180064	./onap-dcaegen2
      163916	./onap-vnfsdk
      129312	./onap-nbi
      63264	./onap-contrib
      10300	./onap-robot
      2852	./onap-aai
      700	./onap-pomba
      
      
      root@a-cd-cas0:/dockerdata-nfs/onap-sdc/sdc/sdc-cs/CS/commitlog# du --max-depth=1 | sort -nr
      3227596	.
      need rotation for the cassandra logs
      oot@a-cd-cas0:/dockerdata-nfs/onap-sdc/sdc/sdc-cs/CS/commitlog# ls -la
      total 3227604
      drwxr-xr-x 2 999 docker     4096 Jan  2 05:05 .
      drwxr-xr-x 5 999 root       4096 Dec 31 01:37 ..
      -rw-r--r-- 1 999 docker 33554432 Dec 31 02:03 CommitLog-4-1546220246592.log
      -rw-r--r-- 1 999 docker 33554432 Dec 31 02:33 CommitLog-4-1546220246593.log

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            pau2882 Prudence Au
            michaelobrien Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: