it worked showing the index when I added below line to config file:
setup.ilm:
enabled: false
now I can see the index at Discover but with no data. and it is still not shown at Index Management. and curl does not get this index as well. Does this mean index is created but not single transaction done so no single instance of this index exists?
the logs when starting show:
>
> {"log.level":"info","@timestamp":"2023-05-13T17:06:05.161+0300","log.origin":{"file.name":"instance/beat.go","file.line":724},"message":"Home path: [/usr/share/filebeat] Config path: [/etc/filebeat] Data path: [/var/lib/filebeat] Logs path: [/var/log/filebeat]","service.name":"filebeat","ecs.version":"1.6.0"}
> {"log.level":"info","@timestamp":"2023-05-13T17:06:05.161+0300","log.origin":{"file.name":"instance/beat.go","file.line":732},"message":"Beat ID: 56e8404f-da9e-403c-b3cb-225acdd386b8","service.name":"filebeat","ecs.version":"1.6.0"}
> {"log.level":"info","@timestamp":"2023-05-13T17:06:05.161+0300","log.logger":"beat","log.origin":{"file.name":"instance/beat.go","file.line":1096},"message":"Beat info","service.name":"filebeat","system_info":{"beat":{"path":{"config":"/etc/filebeat","data":"/var/lib/filebeat","home":"/usr/share/filebeat","logs":"/var/log/filebeat"},"type":"filebeat","uuid":"56e8404f-da9e-403c-b3cb-225acdd386b8"},"ecs.version":"1.6.0"}}
> {"log.level":"info","@timestamp":"2023-05-13T17:06:05.161+0300","log.logger":"beat","log.origin":{"file.name":"instance/beat.go","file.line":1105},"message":"Build info","service.name":"filebeat","system_info":{"build":{"commit":"a8dbc6c06381f4fe33a5dc23906d63c04c9e2444","libbeat":"8.7.0","time":"2023-03-23T00:44:06.000Z","version":"8.7.0"},"ecs.version":"1.6.0"}}
> {"log.level":"info","@timestamp":"2023-05-13T17:06:05.161+0300","log.logger":"beat","log.origin":{"file.name":"instance/beat.go","file.line":1108},"message":"Go runtime info","service.name":"filebeat","system_info":{"go":{"os":"linux","arch":"amd64","max_procs":20,"version":"go1.19.7"},"ecs.version":"1.6.0"}}
> {"log.level":"info","@timestamp":"2023-05-13T17:06:05.162+0300","log.logger":"beat","log.origin":{"file.name":"instance/beat.go","file.line":1114},"message":"Host info","service.name":"filebeat","system_info":{"host":{"architecture":"x86_64","boot_time":"2023-05-13T12:21:34+03:00","containerized":false,"name":"Yasser-Dell","ip":["127.0.0.1","::1","172.25.6.13","fe80::215:5dff:fed7:dc17"],"kernel_version":"5.15.90.1-microsoft-standard-WSL2","mac":["00:15:5d:d7:dc:17"],"os":{"type":"linux","family":"debian","platform":"ubuntu","name":"Ubuntu","version":"20.04.6 LTS (Focal Fossa)","major":20,"minor":4,"patch":6,"codename":"focal"},"timezone":"+03","timezone_offset_sec":10800,"id":"3bda63e1e73958fadc5c99fa642befe5"},"ecs.version":"1.6.0"}}
> {"log.level":"info","@timestamp":"2023-05-13T17:06:05.162+0300","log.logger":"beat","log.origin":{"file.name":"instance/beat.go","file.line":1143},"message":"Process info","service.name":"filebeat","system_info":{"process":{"capabilities":{"inheritable":null,"permitted":["chown","dac_override","dac_read_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux_immutable","net_bind_service","net_broadcast","net_admin","net_raw","ipc_lock","ipc_owner","sys_module","sys_rawio","sys_chroot","sys_ptrace","sys_pacct","sys_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend","audit_read","38","39","40"],"effective":["chown","dac_override","dac_read_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux_immutable","net_bind_service","net_broadcast","net_admin","net_raw","ipc_lock","ipc_owner","sys_module","sys_rawio","sys_chroot","sys_ptrace","sys_pacct","sys_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend","audit_read","38","39","40"],"bounding":["chown","dac_override","dac_read_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux_immutable","net_bind_service","net_broadcast","net_admin","net_raw","ipc_lock","ipc_owner","sys_module","sys_rawio","sys_chroot","sys_ptrace","sys_pacct","sys_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend","audit_read","38","39","40"],"ambient":null},"cwd":"/","exe":"/usr/share/filebeat/bin/filebeat","name":"filebeat","pid":2255,"ppid":2254,"seccomp":{"mode":"disabled","no_new_privs":false},"start_time":"2023-05-13T17:06:05.020+0300"},"ecs.version":"1.6.0"}}
> {"log.level":"info","@timestamp":"2023-05-13T17:06:05.162+0300","log.origin":{"file.name":"instance/beat.go","file.line":297},"message":"Setup Beat: filebeat; Version: 8.7.0","service.name":"filebeat","ecs.version":"1.6.0"}
> {"log.level":"info","@timestamp":"2023-05-13T17:06:05.166+0300","log.logger":"esclientleg","log.origin":{"file.name":"eslegclient/connection.go","file.line":108},"message":"elasticsearch url: https://localhost:9200","service.name":"filebeat","ecs.version":"1.6.0"}
> {"log.level":"info","@timestamp":"2023-05-13T17:06:05.166+0300","log.logger":"publisher","log.origin":{"file.name":"pipeline/module.go","file.line":113},"message":"Beat name: Yasser-Dell","service.name":"filebeat","ecs.version":"1.6.0"}
> {"log.level":"info","@timestamp":"2023-05-13T17:06:05.166+0300","log.logger":"modules","log.origin":{"file.name":"fileset/modules.go","file.line":120},"message":"Enabled modules/filesets: ","service.name":"filebeat","ecs.version":"1.6.0"}
> Config OK