# Help - No configuration found in the configured sources

**URL:** <https://discuss.elastic.co/t/help-no-configuration-found-in-the-configured-sources/152436>\
**Category:** Logstash\
**Created:** [October 15, 2018, 7:10am UTC](https://discuss.elastic.co/t/help-no-configuration-found-in-the-configured-sources/152436 "2018-10-15T07:10:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamdharris](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@adamdharris](https://discuss.elastic.co/u/adamdharris)\
**Post date:** [October 15, 2018, 7:10am UTC](https://discuss.elastic.co/t/help-no-configuration-found-in-the-configured-sources/152436/1 "2018-10-15T07:10:28Z")

</div>

Having trouble running logstash on local windows 10 instances. I have looked at the other posts but cannot figure it out.

**Config File**

```json
input{
    file {
        path => "C:/Users/adamd/Data/Invoice_01062016_14032018.csv"
        start_position => "beginning"
        sincedb_path => "NUL"
    }
}
filter{
    csv{
        separator => ","
        columns["HeaderKeyId","DetailKeyId","InvId","InvDate",
            "InvDateNum","InvDateTime","InvLineId","InvXRefId","InvXRefLineId",
            "InvMonth","InvYear","InvMonthYear","InvFinPeriod","InvFinYear",
            "OrdId","OrdPrefix","OrdLineNo","OrdLineSeqNum","OrdDate","OrdDateTime",
            "ContractNum","ContractType","PurOrdId","CustOrdNum","CustRef2","CustRef3",
            "CustReqDate","CustReqDateTime","CustId","CustAXId","CustCode","CustName",
            "CustGrpCode","CustGrpName","CustStateId","CustStateDescr","CustLocId","CustLocDescr",
            "CustGrpClassId","CustGrpClassDescr","CallerId","CallerName","CallerPhone","Caller2Id",
            "Caller2Name","Caller2Phone","Caller2Email","Caller2Company","DispatchRef","ConsignRef",
            "CustDelName","CustDelInstruct","CustDelInstruct2","CustDelAddr","CustDelCity",
            "CustDelAddrState","CustDelPostCode","ReceiveDate","DispatchDate","IsDirectShip",
            "IsShipped","QtyOrd","QtyInv","ItemId","ItemDescr","SuplItemId","SuplId","SuplName",
            "ManufItemId","ManufId","ManufName","ItemClass","ItemClass1Id","ItemClass1Descr",
            "ItemClass2Id","ItemClass2Descr","ItemVendClass1Id","ItemVendClass1Descr",
            "ItemVendClass2Id","ItemVendClass2Descr","ItemVendClass3Id","ItemVendClass3Descr",
            "ItemVendClass4Id","ItemVendClass4Descr","FinCodeClassId","ItemStatus","WarehouseId",
            "WarehouseDescr","WarehouseFinCode","DealNum","POLineComment","InvExtLineCostEx",
            "InvExtLineSellEx","InvExtLineTax","InvExtLineSellInc","TaxJurisdiction","TaxPercent",
            "InvCre","RepId","RepCode","RepName","RepCostCodeId","RepCostCodeLofBId","RepCostCodeDivId",
            "RepCostCodeRegId","RepCostCodeStateId","Rep2Id","Rep2Code","Rep2Name","Rep2CostCodeId",
            "Rep2CostCodeLofBId","Rep2CostCodeDivId","Rep2CostCodeRegId","Rep2CostCodeStateId",
            "TransCostCodeId","TransCostCodeLofBId","TransCostCodeDivId","TransCostCodeRegId","TransCostCodeStateId","WorkPerformById","WorkPerformByName",
            "WorkPerformByGrpId","WorkPerformByGrpDescr","WorkPerformByNodeId","WorkPerformByNodeDescr","PSFlag","NumProcDays","OrderType","InvOrdType",
            "SaleOrderType","SaleContractType","SaleContractLine","InvIsExcluded","CustIsExcluded","ContractIsExcluded","ContractClass","InvIsConsolid",
            "DataSource","DateTimeCreated","IsAdjustment","ContractWorkPerformed","ItemSerialNumber","AssetTag","DODGUID","MACAddress","CustRef1"]
    }
    mutate {convert => ["QtyInv", "integer"]}
    mutate {convert => ["QtyOrd", "integer"]}
    mutate {convert => ["InvExtLineCostEx", "float"]}
    mutate {convert => ["InvExtLineSellEx", "float"]}
}
output{
    elasticsearch {
        hosts => "localhost:9200"
        index => "liberate"
        document_type => "invoices"
    }
    stdout{}
}

```

**Command Line**

```bash
C:\Users\adamd\Documents\Logstash>bin\logstash -f C:/Users/adamd/Data/logstash_liberateinvoices.conf
Sending Logstash logs to C:/Users/adamd/Documents/Logstash/logs which is now configured via log4j2.properties
[2018-10-15T17:04:19,903][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2018-10-15T17:04:20,436][INFO][logstash.runner] Starting Logstash {"logstash.version"=>"6.4.2"}
[2018-10-15T17:04:20,531][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.
[2018-10-15T17:04:20,903][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=>9600}

```

---

<div class="post-metadata">

**Author:** ![JKCode](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@JKCode](https://discuss.elastic.co/u/JKCode)\
**Post date:** [October 17, 2018, 11:51am UTC](https://discuss.elastic.co/t/help-no-configuration-found-in-the-configured-sources/152436/2 "2018-10-17T11:51:24Z")

</div>

+1

My issue is wrt the pipelines.yml

pipeline.yml config:

```
 pipeline.id: test
  pipeline.workers: 1
  pipeline.batch.size: 500
  queue.type: persisted
  queue.max_bytes: 1gb # Default = 1024mb
  queue.drain: true
  pipeline.output.workers: 1
  path.config: "D:/ElasticStack-6.4.2/PipelineIngestionTest-1/IngestionTest_1.conf"

```

Config file:

```
input{
    stdin{
    }
}
output{
    stdout{
        codec => "rubydebug"
        id => "-RUBY-" #Unique ID assigned to the Output Channel for Monitoring
    }
    elasticsearch{
        hosts => ["localhost:9201"]
        index => "Test-%{+dd.MM.YYYY}" # Must be lowercase. ERROR: duplicate records caused by not specifying input=>file=>_id
        id => "-ES:9201:Test-" #Unique ID assigned to the Output Channel for Monitoring
    }
}

```

Logstash Error in cmd:

```
[2018-10-17T17:08:11,288][DEBUG][logstash.runner] --------------- Logstash Settings -------------------
[2018-10-17T17:08:11,340][DEBUG][logstash.config.source.multilocal] Reading pipeline configurations from YAML {:location=>"D:/ElasticStack-6.4.2/logstash-6.4.2/config/pipelines.yml"}
[2018-10-17T17:08:11,395][DEBUG][logstash.config.source.multilocal] Reading pipeline configurations from YAML {:location=>"D:/ElasticStack-6.4.2/logstash-6.4.2/config/pipelines.yml"}
[2018-10-17T17:08:11,462][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.
Configuration OK
[2018-10-17T17:08:11,473][INFO][logstash.runner] Using config.test_and_exit mode. Config Validation Result: OK. Exiting Logstash

```

Please help!

---

<div class="post-metadata">

**Author:** ![JKCode](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@JKCode](https://discuss.elastic.co/u/JKCode)\
**Post date:** [October 17, 2018, 12:04pm UTC](https://discuss.elastic.co/t/help-no-configuration-found-in-the-configured-sources/152436/3 "2018-10-17T12:04:58Z")

</div>

Found a solution to the error i faced on another thread which works for this situation:

1. Config File:  
Index name to be lowercase as shown below:  
`index => "test-%{+dd.MM.YYYY}"`

2. File path in pipeline.yml:  
Drive letter removed as shown below:  
`path.config: "/ElasticStack-6.4.2/PipelineIngestionTest-1/IngestionTest_1.conf"`

Hope this helps and works for you, @adamdharris!

---

<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:** [November 14, 2018, 12:05pm UTC](https://discuss.elastic.co/t/help-no-configuration-found-in-the-configured-sources/152436/4 "2018-11-14T12:05:00Z")

</div>

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