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 Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...