How to differentiate type of logs in prospectus of file beats

Hi,
I am a newbee in file beats. In logstash conf I used to differentiate the logs in input-> file-> using the "type". According to that type I create the different indices for different log in the output->Elasticsearch. Below is a sample conf file.

  input{
	file{
		path => "D:/elkstack/AppLogs/*.log"
		type => applogs
		start_position => beginning
	}
	file{
		path => "D:/elkstack/FirewallLogs/Criticlelog*.log"
		type => Criticlelog
		start_position => beginning
	}
	file{
		path => "D:/elkstack/FirewallLogs/Debugging*.log"
		type => Debugginglog
		start_position => beginning
	}
}

Now here come my question, how do I differentiate these types using file-beats?

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