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

**URL:** <https://discuss.elastic.co/t/start-service-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/163095>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 6, 2019, 8:27pm UTC](https://discuss.elastic.co/t/start-service-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/163095 "2019-01-06T20:27:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmer\_haque](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@ahmer\_haque](https://discuss.elastic.co/u/ahmer_haque)\
**Post date:** [January 6, 2019, 8:27pm UTC](https://discuss.elastic.co/t/start-service-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/163095/1 "2019-01-06T20:27:13Z")

</div>

-/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

---

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [January 6, 2019, 8:49pm UTC](https://discuss.elastic.co/t/start-service-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/163095/2 "2019-01-06T20:49:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ahmer\_haque](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@ahmer\_haque](https://discuss.elastic.co/u/ahmer_haque)\
**Post date:** [January 7, 2019, 5:43am UTC](https://discuss.elastic.co/t/start-service-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/163095/3 "2019-01-07T05:43:05Z")

</div>

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](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

---

<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:** [February 4, 2019, 5:43am UTC](https://discuss.elastic.co/t/start-service-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/163095/4 "2019-02-04T05:43:06Z")

</div>

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