# Log stash Installation

**URL:** <https://discuss.elastic.co/t/log-stash-installation/128808>\
**Category:** Logstash\
**Created:** [April 20, 2018, 7:02am UTC](https://discuss.elastic.co/t/log-stash-installation/128808 "2018-04-20T07:02:41Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![manojbhupatiraju](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@manojbhupatiraju](https://discuss.elastic.co/u/manojbhupatiraju)\
**Post date:** [April 20, 2018, 7:02am UTC](https://discuss.elastic.co/t/log-stash-installation/128808/1 "2018-04-20T07:02:42Z")

</div>

Hi,  
I have installed logstash in my machine and I am getting below mentioned error while installing.Kindly help me.

[2018-04-19T23:49:11,825][INFO][logstash.config.source.local.configpathloader] No config files found in path {:path=\>"C:/Users/518785/ELK/logstash-6.2.3/bin/logstash-simple.conf"}  
[2018-04-19T23:49:11,825][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.  
[2018-04-19T23:49:12,257][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 20, 2018, 7:11am UTC](https://discuss.elastic.co/t/log-stash-installation/128808/2 "2018-04-20T07:11:09Z")

</div>

What do you need help with exactly?

---

<div class="post-metadata">

**Author:** ![PolterFox](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polterfox/32/29781_2.png) [@PolterFox](https://discuss.elastic.co/u/PolterFox)\
**Post date:** [April 20, 2018, 7:34am UTC](https://discuss.elastic.co/t/log-stash-installation/128808/3 "2018-04-20T07:34:38Z")

</div>

It looks like you have no configuration files in the directory which you have configured for logstash. Logstash dont know what to do with your data.

---

<div class="post-metadata">

**Author:** ![manojbhupatiraju](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@manojbhupatiraju](https://discuss.elastic.co/u/manojbhupatiraju)\
**Post date:** [April 20, 2018, 9:51am UTC](https://discuss.elastic.co/t/log-stash-installation/128808/4 "2018-04-20T09:51:13Z")

</div>

Polter thanks for the reply!!  
I have both pipeline/logstash YML files in config folder.

---

<div class="post-metadata">

**Author:** ![PolterFox](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polterfox/32/29781_2.png) [@PolterFox](https://discuss.elastic.co/u/PolterFox)\
**Post date:** [April 20, 2018, 10:09am UTC](https://discuss.elastic.co/t/log-stash-installation/128808/5 "2018-04-20T10:09:05Z")

</div>

Hey @manojbhupatiraju,

Can you post your config files here, perhaps your config files are missing anything. What is your path where you store your config files ? Do you set a custom directory in the settings?

And please check that logstash can read the files (or have the permissions to read it).

Best regards  
Robert

---

<div class="post-metadata">

**Author:** ![manojbhupatiraju](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@manojbhupatiraju](https://discuss.elastic.co/u/manojbhupatiraju)\
**Post date:** [April 20, 2018, 10:21am UTC](https://discuss.elastic.co/t/log-stash-installation/128808/6 "2018-04-20T10:21:18Z")

</div>

![Logstash%20install](https://us1.discourse-cdn.com/elastic/original/3X/5/3/53d1d9ecd841a3ac755f008dddc75369fdc9989c.PNG)

---

<div class="post-metadata">

**Author:** ![PolterFox](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polterfox/32/29781_2.png) [@PolterFox](https://discuss.elastic.co/u/PolterFox)\
**Post date:** [April 20, 2018, 10:27am UTC](https://discuss.elastic.co/t/log-stash-installation/128808/7 "2018-04-20T10:27:32Z")

</div>

Please test the following, execute this in your command line:

`C:\\your_path_to_LOGSTASH_bat -f C:\\yourPathTOyourLogStashConf`

replace `your_path_to_LOGSTASH_bat` to the path where your logstash.bat is, and replace `yourPathTOyourLogStashConf` with the path to your logstash.conf which has the input, filter and output sections.

If there are any errors, please post them here.

---

<div class="post-metadata">

**Author:** ![manojbhupatiraju](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@manojbhupatiraju](https://discuss.elastic.co/u/manojbhupatiraju)\
**Post date:** [April 23, 2018, 5:21am UTC](https://discuss.elastic.co/t/log-stash-installation/128808/8 "2018-04-23T05:21:56Z")

</div>

Polter I have executed the path and getting the same error. Please check.

C:\Users\518785\ELK\logstash-6.2.3\bin\>logstash -f logstash-conf  
Sending Logstash's logs to C:/Users/518785/ELK/logstash-6.2.3/logs which is now configured via log4j2.properties  
[2018-04-22T22:16:23,051][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"fb\_apache", :directory=\>"C:/Users/518785/ELK/logstash-6.2.3/modules/fb\_apache/configuration"}  
[2018-04-22T22:16:23,098][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"netflow", :directory=\>"C:/Users/518785/ELK/logstash-6.2.3/modules/netflow/configuration"}  
[2018-04-22T22:16:23,332][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2018-04-22T22:16:23,943][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"6.2.3"}  
[2018-04-22T22:16:24,068][INFO][logstash.config.source.local.configpathloader] No config files found in path {:path=\>"C:/Users/518785/ELK/logstash-6.2.3/bin/logstash-conf"}  
[2018-04-22T22:16:24,099][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.  
[2018-04-22T22:16:24,545][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}

---

<div class="post-metadata">

**Author:** ![PolterFox](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polterfox/32/29781_2.png) [@PolterFox](https://discuss.elastic.co/u/PolterFox)\
**Post date:** [April 23, 2018, 11:32am UTC](https://discuss.elastic.co/t/log-stash-installation/128808/9 "2018-04-23T11:32:45Z")

</div>

Hey @manojbhupatiraju,

please retry it with a full qualified path to your config file.

And please try the `-t` flag in your startup command to `test and exit` (paste your output here)

Best regards,  
Robert

---

<div class="post-metadata">

**Author:** ![manojbhupatiraju](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@manojbhupatiraju](https://discuss.elastic.co/u/manojbhupatiraju)\
**Post date:** [April 24, 2018, 6:01am UTC](https://discuss.elastic.co/t/log-stash-installation/128808/10 "2018-04-24T06:01:55Z")

</div>

Hi Polter,

I executed the command and I am getting pipeline file is empty. not sure why .Please suggest.

C:\Users\518785\ELK\logstash-6.2.3\bin\>logstash -t logstash-conf  
Sending Logstash's logs to C:/Users/518785/ELK/logstash-6.2.3/logs which is now configured via log4j2.properties  
[2018-04-23T22:42:10,040][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"fb\_apache", :directory=\>"C:/Users/518785/ELK/logstash-6.2.3/modules/fb\_apache/configuration"}  
[2018-04-23T22:42:10,071][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"netflow", :directory=\>"C:/Users/518785/ELK/logstash-6.2.3/modules/netflow/configuration"}  
ERROR: Pipelines YAML file is empty. Location: C:/Users/518785/ELK/logstash-6.2.3/config/pipelines.yml  
usage:  
bin/logstash -f CONFIG\_PATH [-t] [-r] [] [-w COUNT] [-l LOG]  
bin/logstash --modules MODULE\_NAME [-M "MODULE\_NAME.var.PLUGIN\_TYPE.PLUGIN\_NAME.VARIABLE\_NAME=VALUE"] [-t] [-w COUNT] [-l LOG]  
bin/logstash -e CONFIG\_STR [-t] [--log.level fatal|error|warn|info|debug|trace] [-w COUNT] [-l LOG]  
bin/logstash -i SHELL [--log.level fatal|error|warn|info|debug|trace]  
bin/logstash -V [--log.level fatal|error|warn|info|debug|trace]  
bin/logstash --help  
[2018-04-23T22:42:10,337][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit

---

<div class="post-metadata">

**Author:** ![PolterFox](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polterfox/32/29781_2.png) [@PolterFox](https://discuss.elastic.co/u/PolterFox)\
**Post date:** [April 24, 2018, 6:24am UTC](https://discuss.elastic.co/t/log-stash-installation/128808/11 "2018-04-24T06:24:04Z")

</div>

Hey @manojbhupatiraju,

First a full qualified path-name is for example C:\myElasticInstallation\logstash.config.  
It's important that you write out the complete path name to link to your config.

Please check if your file existst, in your picture which you send above, I can not see a file which has the name logstash-conf.

And if you want to use the`-t` flag you must also write the flag `-f C:\YourPathToYourConfig`,  
so the command must looks like this: `logstash.bat -f C:\YourPathToYourConfig -t`

Best regards,  
Robert

---

<div class="post-metadata">

**Author:** ![manojbhupatiraju](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@manojbhupatiraju](https://discuss.elastic.co/u/manojbhupatiraju)\
**Post date:** [April 24, 2018, 9:30am UTC](https://discuss.elastic.co/t/log-stash-installation/128808/12 "2018-04-24T09:30:55Z")

</div>

![logstash%20install1](https://us1.discourse-cdn.com/elastic/original/3X/d/9/d901f9e36c205dd53fa961f6266ad024cf65f5ce.PNG)  
Polter I have logstash-simple.conf file in config folder.I have tested the command with correct path and getting java exception .Please advice on it.

C:\Users\518785\ELK\logstash-6.2.3\bin\>logstash.bat -f C:\Users\518785\ELK\logstash-6.2.3\config -t  
Sending Logstash's logs to C:/Users/518785/ELK/logstash-6.2.3/logs which is now configured via log4j2.properties  
[2018-04-24T02:22:43,428][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"fb\_apache", :directory=\>"C:/Users/518785/ELK/logstash-6.2.3/modules/fb\_apache/configuration"}  
[2018-04-24T02:22:43,444][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"netflow", :directory=\>"C:/Users/518785/ELK/logstash-6.2.3/modules/netflow/configuration"}  
[2018-04-24T02:22:43,660][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2018-04-24T02:22:43,961][FATAL][logstash.runner] The given configuration is invalid. Reason: Expected one of #, input, filter, output at line 6, column 1 (byte 132) after ## JVM configuration

# Xms represents the initial size of total heap space

# Xmx represents the maximum size of total heap space

[2018-04-24T02:22:43,961][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit

---

<div class="post-metadata">

**Author:** ![PolterFox](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polterfox/32/29781_2.png) [@PolterFox](https://discuss.elastic.co/u/PolterFox)\
**Post date:** [April 25, 2018, 9:57am UTC](https://discuss.elastic.co/t/log-stash-installation/128808/13 "2018-04-25T09:57:13Z")

</div>

> [@manojbhupatiraju](#):
>
> logstash.bat -f C:\Users\518785\ELK\logstash-6.2.3\config -t

Hey @manojbhupatiraju,  
Please also write the file name behind your path, like this:  
`logstash.bat -f C:\Users\518785\ELK\logstash-6.2.3\config\logstash-simple.conf -t`

Best regards,  
Robert

---

<div class="post-metadata">

**Author:** ![manojbhupatiraju](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@manojbhupatiraju](https://discuss.elastic.co/u/manojbhupatiraju)\
**Post date:** [April 26, 2018, 8:56am UTC](https://discuss.elastic.co/t/log-stash-installation/128808/14 "2018-04-26T08:56:46Z")

</div>

Polter,  
I have re installed (logstash-6.2.4)tested it but issue is same.  
C:\Users\518785\ELK\logstash-6.2.4\bin\>logstash.bat -f C:\Users\518785\ELK\logstash-6.2.4\config\logstash-simple.conf -t  
Sending Logstash's logs to C:/Users/518785/ELK/logstash-6.2.4/logs which is now configured via log4j2.properties  
[2018-04-26T01:46:03,268][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"fb\_apache", :directory=\>"C:/Users/518785/ELK/logstash-6.2.4/modules/fb\_apache/configuration"}  
[2018-04-26T01:46:03,286][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"netflow", :directory=\>"C:/Users/518785/ELK/logstash-6.2.4/modules/netflow/configuration"}  
[2018-04-26T01:46:03,503][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2018-04-26T01:46:03,576][INFO][logstash.config.source.local.configpathloader] No config files found in path {:path=\>"C:/Users/518785/ELK/logstash-6.2.4/config/logstash-simple.conf"}  
[2018-04-26T01:46:03,591][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.  
Configuration OK  
[2018-04-26T01:46:03,591][INFO][logstash.runner] Using config.test\_and\_exit mode. Config Validation Result: OK. Exiting Logstash

C:\Users\518785\ELK\logstash-6.2.4\bin\>logstash.bat -f C:\Users\518785\ELK\logstash-6.2.4\config\logstash-simple.conf  
Sending Logstash's logs to C:/Users/518785/ELK/logstash-6.2.4/logs which is now configured via log4j2.properties  
[2018-04-26T01:47:06,113][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"fb\_apache", :directory=\>"C:/Users/518785/ELK/logstash-6.2.4/modules/fb\_apache/configuration"}  
[2018-04-26T01:47:06,138][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"netflow", :directory=\>"C:/Users/518785/ELK/logstash-6.2.4/modules/netflow/configuration"}  
[2018-04-26T01:47:06,343][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2018-04-26T01:47:06,559][INFO][logstash.agent] No persistent UUID file found. Generating new UUID {:uuid=\>"bf8b377b-e78e-4aae-b4f2-45060e852c7e", :path=\>"C:/Users/518785/ELK/logstash-6.2.4/data/uuid"}  
[2018-04-26T01:47:07,245][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"6.2.4"}  
[2018-04-26T01:47:07,414][INFO][logstash.config.source.local.configpathloader] No config files found in path {:path=\>"C:/Users/518785/ELK/logstash-6.2.4/config/logstash-simple.conf"}  
[2018-04-26T01:47:07,442][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.  
[2018-04-26T01:47:07,792][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}

Regards,  
Manoj.

---

<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:** [May 24, 2018, 8:56am UTC](https://discuss.elastic.co/t/log-stash-installation/128808/15 "2018-05-24T08:56:57Z")

</div>

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