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!

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Easily Improve Agent Saturation with the Splunk Add-on for OpenTelemetry Collector

Agent Saturation What and Whys In application performance monitoring, saturation is defined as the total load ...