# Logstash file input not processing (windows)

**URL:** <https://discuss.elastic.co/t/logstash-file-input-not-processing-windows/281720>\
**Category:** Logstash\
**Created:** [August 17, 2021, 3:56pm UTC](https://discuss.elastic.co/t/logstash-file-input-not-processing-windows/281720 "2021-08-17T15:56:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alejandroalv87](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alejandroalv87/32/93291_2.png) [@alejandroalv87](https://discuss.elastic.co/u/alejandroalv87)\
**Post date:** [August 17, 2021, 3:56pm UTC](https://discuss.elastic.co/t/logstash-file-input-not-processing-windows/281720/1 "2021-08-17T15:56:19Z")

</div>

I am trying to process an apache log file to logstash and file is not getting process. My config file here:

```auto
input {
	file {
		path => "C:\Users\alejandro.alvarez\Downloads\elasticsearch_kibana\data\logs\apache_access.logs"
		start_position => "beginning"		
	#	sincedb_path => "NUL"
    }
	http {
	
	}
}
output {
	stdout {
		codec => rubydebug
	}
}

```

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/1/316fd27647307080b3b9ae01faeeaae7cb81399b.png)  
Pipelines running {:count=\>1,... but I dont see anything  
Also, the .sincedb\_2ea91ca3xxxxxx do not log anything.  
Thanks

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [August 17, 2021, 4:18pm UTC](https://discuss.elastic.co/t/logstash-file-input-not-processing-windows/281720/2 "2021-08-17T16:18:38Z")

</div>

Do not use backslash in the path option of a file input, it is used as an escape. Use /

---

<div class="post-metadata">

**Author:** ![alejandroalv87](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alejandroalv87/32/93291_2.png) [@alejandroalv87](https://discuss.elastic.co/u/alejandroalv87)\
**Post date:** [August 18, 2021, 5:38am UTC](https://discuss.elastic.co/t/logstash-file-input-not-processing-windows/281720/3 "2021-08-18T05:38:23Z")

</div>

I have already tried with / but still the same result. As per my config file I have as input http, so I make a call through Postman and the call has been received (I added an output to file and I can see it there)

````auto
input {
	file {
		path => "C:/Users/alejandro.alvarez/Downloads/elasticsearch_kibana/data/logs/apache_access.logs"
		start_position => "beginning"		
	#	sincedb_path => "NUL"
    }
	http {
	
	}
}
output {
	stdout {
		codec => rubydebug
	}
	file {
		path => "C:/Users/alejandro.alvarez/Downloads/elasticsearch_kibana/logstash-7.14.0-windows-x86_64/logstash-7.14.0/logstest.txt"
	}
}```

Any help would be highly appreciated
````

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 18, 2021, 6:10am UTC](https://discuss.elastic.co/t/logstash-file-input-not-processing-windows/281720/4 "2021-08-18T06:10:27Z")

</div>

Perhaps share the logstash startup logs

---

<div class="post-metadata">

**Author:** ![alejandroalv87](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alejandroalv87/32/93291_2.png) [@alejandroalv87](https://discuss.elastic.co/u/alejandroalv87)\
**Post date:** [August 18, 2021, 8:30am UTC](https://discuss.elastic.co/t/logstash-file-input-not-processing-windows/281720/5 "2021-08-18T08:30:37Z")

</div>

> [@Badger](#):
>
> backslash

Setting to info mode

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/0/2004e4eec5c3658a5be9d8f58af03433f8ebed7a.png)  
I see the line [2021-08-18T14:17:38,101][INFO][logstash.inputs.file][main] No sincedb\_path set, generating one based on the "path" setting {:sincedb\_path=\>"C:/Users/alejandro.alvarez/Downloads/elasticsearch\_kibana/logstash-7.14.0-windows-x86\_64/logstash-7.14.0/data/plugins/inputs/file/.sincedb\_1c917a28944f3fa59552afdb242255f6", :path=\>[""C:/Users/alejandro.alvarez/Downloads/elasticsearch\_kibana/data/logs/apache\_access.logs"]} but no processing

---

<div class="post-metadata">

**Author:** ![alejandroalv87](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alejandroalv87/32/93291_2.png) [@alejandroalv87](https://discuss.elastic.co/u/alejandroalv87)\
**Post date:** [August 18, 2021, 12:23pm UTC](https://discuss.elastic.co/t/logstash-file-input-not-processing-windows/281720/6 "2021-08-18T12:23:43Z")

</div>

found the issue file is .log and not .logs (kill me)  
Thanks for your help

---

<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 15, 2021, 12:24pm UTC](https://discuss.elastic.co/t/logstash-file-input-not-processing-windows/281720/7 "2021-09-15T12:24:33Z")

</div>

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