Getting Data In

input stanza for on prem codedeploy logs

bobmccoy
Explorer

we use codedeploy to deploy to some of our on prem servers with the codedepoy agent
it logs to C:\Deployments\xxxxxx-Web\LogHtml and the log is an html
the log file is named like :

xxxxxx-Web_xxxxxx-Web_2018-03-05_05-06-57.html

I am using:
[monitor://C:\Deployments\xxxxxx-Web\LogHtml*.html]
disabled = false
sourcetype = web
index = xxxxxxx

And I am not getting anything from this location in my index

any ideas

Tags (2)
0 Karma

somesoni2
Revered Legend

If C:\Deployments\xxxxxx-Web\LogHtml is the directory name and xxxxxx-Web_xxxxxx-Web_2018-03-05_05-06-57.html is the file name, your monitoring stanza should be like this

[monitor://C:\Deployments\*-Web\LogHtml\*-Web_*.html]
0 Karma