Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

skbkontur/logstash-input-http_file

 
 

Repository files navigation

Logstash Plugin

This is a plugin for Logstash. Use it when you need to monitor a large log file that is being written to. This plugin will poll the file and fetch only the changed portion using HTTP Range requests.

It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.

Documentation

Add to your logstash configuration file:

input {
	http_file {
    	url => ... # string (required), example: "http://example.com/file.log"
        interval => ... # number (optional), default: 5, interval between get requests
        start_position => # string (optional) "beginning" or "end", default: end, position to start reading: if set to "beginning", file will be read from the beginning when logstash service starts.
        username => # Basic Authorization username
        password => # Basic Authorization password
        max_request_bytes => # max request bytes default: 1048576
        sincedb_path => # sincedb path default: $HOME/.slice_md5(url)  
    }
}

Standard options can also be used:

	tags => ... # array (optional)
    type => ... # string (optional)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%