Using logstash for HTML file?

(magdiel ) #1

Hi im very new to the ELK stack. Ive managed to get kibana, elasticsearch, logstash, and filebeat running together just from the elasticsearch tutorials. There is an html page that I downloaded which contains log data that I need to analyze. I was wondering if I could use logstash to pass the contents of that html file on to elasticsearch? If so how would I configure the config file? Everything is running on my machine. An example of what is in the html file is:

<td valign="top" align="left">
<font color="#6E6E6E" size="2">2017.09.26 </font>
<font color="#2E2E2E" size="2">

What I would need is the 2 date formats up there. I just dont know how to make the config file. For example would I do something like this?
input {
file {
type => "html"
path => "<C:\Users\Me\Desktop\Pros92617.html"
start_position => "beginning"

Thank you very much! and thank you for this community

(system) #2

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