# Multipath in the pipeline not working

**URL:** <https://discuss.elastic.co/t/multipath-in-the-pipeline-not-working/339842>\
**Category:** Logstash\
**Created:** [August 1, 2023, 5:32pm UTC](https://discuss.elastic.co/t/multipath-in-the-pipeline-not-working/339842 "2023-08-01T17:32:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anupvtr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anupvtr/32/128607_2.png) [@anupvtr](https://discuss.elastic.co/u/anupvtr)\
**Post date:** [August 1, 2023, 5:32pm UTC](https://discuss.elastic.co/t/multipath-in-the-pipeline-not-working/339842/1 "2023-08-01T17:32:57Z")

</div>

Hello All,  
Thanks in advance.  
We have succesfully sending the data to the [Logz.io](http://Logz.io) console via custom application.  
There was a specific request to add one more path in addition to the existing path. The logs that are present in the new path is not sending any data to the [Logz.io](http://Logz.io).

Existing log file path: \QWEFY/#QWEFY/HUWA\_LOG/BLOCK/S000/_/_.txt  
New log file path: \QWEFY/#QWEFY/BLOCK\_LOG/BLOCK/S000/_/_.txt

The pipeline.conf file as shown below. please help me.

input {  
http {  
codec =\> json\_lines  
port =\> 4503  
user =\> "${BLOCK\_CONDITION\_USER\_STAGING}"  
password =\> "${BLOCK\_CONDITION\_PASSWORD\_STAGING}"  
ssl =\> false  
}  
file {  
codec =\> json  
path =\> ["\QWEFY/#QWEFY/HUWA\_LOG/BLOCK/S000/_/_.txt","\QWEFY/#QWEFY/BLOCK\_LOG/BLOCK/S000/_/_.txt"]   
start\_position =\> "beginning"  
sincedb\_path =\> "D:/FileShippers/logstash-7.16.1\_BLOCK/sincedb/S000/.sincedb"  
sincedb\_clean\_after =\> "2"  
close\_older =\> "15 m"  
}  
}

output {  
vdhttp {  
url =\> "[https://listener-us.logz.io:5601?token=${BLOCK\_LOGZIO\_TOKEN\_STAGING}](https://listener-us.logz.io:5601?token=$%7BBLOCK_LOGZIO_TOKEN_STAGING%7D)"  
http\_method =\> "post"  
format =\> "logzio\_batch"  
content\_type =\> "application/json"  
proxy =\> {  
host =\> "[block.krty.com](http://block.krty.com)"  
port =\> "8080"  
scheme =\> 'http'  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![anupvtr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anupvtr/32/128607_2.png) [@anupvtr](https://discuss.elastic.co/u/anupvtr)\
**Post date:** [August 4, 2023, 7:19am UTC](https://discuss.elastic.co/t/multipath-in-the-pipeline-not-working/339842/2 "2023-08-04T07:19:27Z")

</div>

Any one have idea on this issue.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [August 4, 2023, 1:09pm UTC](https://discuss.elastic.co/t/multipath-in-the-pipeline-not-working/339842/3 "2023-08-04T13:09:11Z")

</div>

What do you have in the logstash log files for the file input when you start logstash?

Also, is anything being collected at all?

`\QWEFY/#QWEFY/HUWA_LOG/BLOCK/S000//.txt` I would expet to have a wildcard before `.txt` so the logs can be collected.

How are you running Logstash? Did you check the permissions for the new path? The user running logstash must have permissions to it.

---

<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:** [September 1, 2023, 1:09pm UTC](https://discuss.elastic.co/t/multipath-in-the-pipeline-not-working/339842/4 "2023-09-01T13:09:54Z")

</div>

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