'Start-Service' is not recognized as an internal or external command, operable program or batch file

-/var/log/.log
#-C:/Program Files/elasticsearch/logs/

can u please help me to sort this problem?

Exiting: No paths were defined for input accessing config
Exiting: No paths were defined for input accessing config

Hi @ahmer_haque

In order to have more chances to get some helpful feedback, please include at the minimum:

  • What you are trying to do in a few words
  • What action produces the error. Is it a command you type somewhere? Where do you type that command? What is that command?
  • What is the error you are getting? Copy and paste that exactly as you see it.

The information you have shared so far is not enough for us to help you

I want to create elasticsearch log using filebeat but when i run this command to: filebeat -e -d "" i got an error like this

2019-01-06T12:50:09.251-0800 INFO instance/beat.go:592 Home path: [C:\Program Files\filebeat] Config path: [C:\Program Files\filebeat] Data path: [C:\Program Files\filebeat\data] Logs path: [C:\Program Files\filebeat\logs]
2019-01-06T12:50:09.257-0800 INFO instance/beat.go:599 Beat UUID: 043f27c2-6c47-4410-9fc7-f5862f38e6f0
2019-01-06T12:50:09.257-0800 INFO [beat] instance/beat.go:825 Beat info {"system_info": {"beat": {"path": {"config": "C:\Program Files\filebeat", "data": "C:\Program Files\filebeat\data", "home": "C:\Program Files\filebeat", "logs": "C:\Program Files\filebeat\logs"}, "type": "filebeat", "uuid": "043f27c2-6c47-4410-9fc7-f5862f38e6f0"}}}
2019-01-06T12:50:09.258-0800 INFO [beat] instance/beat.go:834 Build info {"system_info": {"build": {"commit": "bd8922f1c7e93d12b07e0b3f7d349e17107f7826", "libbeat": "6.5.4", "time": "2018-12-17T20:21:46.000Z", "version": "6.5.4"}}}
2019-01-06T12:50:09.271-0800 INFO [beat] instance/beat.go:837 Go runtime info {"system_info": {"go": {"os":"windows","arch":"amd64","max_procs":4,"version":"go1.10.6"}}}
2019-01-06T12:50:09.342-0800 INFO [beat] instance/beat.go:841 Host info {"system_info": {"host": {"architecture":"x86_64","boot_time":"2018-12-31T20:58:38.71-08:00","name":"DESKTOP-57TEFHV","ip":["fe80::2539:c96f:d622:5b59/64","10.1.11.41/24","169.254.91.89/16","fe80::5d24:fc94:83d8:323/64","169.254.3.35/16","fe80::145c:38e7:8809:5d52/64","169.254.93.82/16","fd50:1d9:56ae:e000:b01b:f998:8f4:1b50/64","fd50:1d9:56ae:e000:880f:46b3:d30f:2c9f/128","fe80::b01b:f998:8f4:1b50/64","192.168.1.6/24","fe80::d5e:8b5c:fc41:86ff/64","169.254.134.255/16","::1/128","127.0.0.1/8"],"kernel_version":"10.0.17134.472 (WinBuild.160101.0800)","mac":["d0:bf:9c:89:a9:60","c6:8e:8f:bc:c8:85","c4:8e:8f:bc:c8:85","c4:8e:8f:bc:c8:85","c4:8e:8f:bc:c8:86"],"os":{"family":"windows","platform":"windows","name":"Windows 10 Enterprise","version":"10.0","major":10,"minor":0,"patch":0,"build":"17134.472"},"timezone":"PST","timezone_offset_sec":-28800,"id":"355c1c72-0644-4221-8e2c-46b89c0c106b"}}}
2019-01-06T12:50:09.349-0800 INFO [beat] instance/beat.go:870 Process info {"system_info": {"process": {"cwd": "C:\Program Files\filebeat", "exe": "C:\Program Files\filebeat\filebeat.exe", "name": "filebeat.exe", "pid": 9880, "ppid": 18892, "start_time": "2019-01-06T12:50:08.176-0800"}}}
2019-01-06T12:50:09.350-0800 INFO instance/beat.go:278 Setup Beat: filebeat; Version: 6.5.4
2019-01-06T12:50:12.389-0800 INFO add_cloud_metadata/add_cloud_metadata.go:319 add_cloud_metadata: hosting provider type not detected.
2019-01-06T12:50:12.457-0800 INFO elasticsearch/client.go:163 Elasticsearch url: http://localhost:9200
2019-01-06T12:50:12.593-0800 INFO [publisher] pipeline/module.go:110 Beat name: DESKTOP-57TEFHV
2019-01-06T12:50:12.647-0800 INFO instance/beat.go:400 filebeat start running.
2019-01-06T12:50:12.655-0800 INFO [monitoring] log/log.go:117 Starting metrics logging every 30s
2019-01-06T12:50:12.682-0800 INFO registrar/registrar.go:134 Loading registrar data from C:\Program Files\filebeat\data\registry
2019-01-06T12:50:12.704-0800 INFO registrar/registrar.go:141 States Loaded from registrar: 0
2019-01-06T12:50:12.705-0800 INFO crawler/crawler.go:72 Loading Inputs: 1
2019-01-06T12:50:12.950-0800 INFO log/input.go:138 Configured paths: [c:\ProgramData\Elastic\Elasticsearch\logs*_access.log]
2019-01-06T12:50:12.955-0800 INFO log/input.go:138 Configured paths: [c:\ProgramData\Elastic\Elasticsearch\logs*_deprecation.log]
2019-01-06T12:50:12.957-0800 INFO log/input.go:138 Configured paths: [c:\ProgramData\Elastic\Elasticsearch\logs\gc.log.* c:\ProgramData\Elastic\Elasticsearch\logs\gc.log]
2019-01-06T12:50:12.958-0800 ERROR fileset/factory.go:105 Error creating input: No paths were defined for input accessing config
2019-01-06T12:50:12.959-0800 INFO crawler/crawler.go:139 Stopping Crawler
2019-01-06T12:50:12.960-0800 INFO crawler/crawler.go:149 Stopping 0 inputs
2019-01-06T12:50:12.960-0800 INFO crawler/crawler.go:165 Crawler stopped
2019-01-06T12:50:12.961-0800 INFO registrar/registrar.go:356 Stopping Registrar
2019-01-06T12:50:12.965-0800 INFO registrar/registrar.go:282 Ending Registrar
2019-01-06T12:50:14.675-0800 INFO [monitoring] log/log.go:152 Total non-zero metrics {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":359,"time":{"ms":359}},"total":{"ticks":499,"time":{"ms":499},"value":499},"user":{"ticks":140,"time":{"ms":140}}},"handles":{"open":231},"info":{"ephemeral_id":"836a096e-ae3a-4801-ad6f-66a560c7d926","uptime":{"ms":5978}},"memstats":{"gc_next":4194304,"memory_alloc":2256144,"memory_total":4953512,"rss":21688320}},"filebeat":{"harvester":{"open_files":0,"running":0}},"libbeat":{"config":{"module":{"running":0}},"output":{"type":"elasticsearch"},"pipeline":{"clients":0,"events":{"active":0}}},"registrar":{"states":{"current":0},"writes":{"success":1,"total":1}},"system":{"cpu":{"cores":4}}}}}
2019-01-06T12:50:14.676-0800 INFO [monitoring] log/log.go:153 Uptime: 5.9795943s
2019-01-06T12:50:14.682-0800 INFO [monitoring] log/log.go:130 Stopping metrics logging.
2019-01-06T12:50:14.683-0800 INFO instance/beat.go:410 filebeat stopped.
2019-01-06T12:50:14.685-0800 ERROR instance/beat.go:800 Exiting: No paths were defined for input accessing config
Exiting: No paths were defined for input accessing config

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