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
Get Updates on the Splunk Community!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...