Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Why do the CloudWatch logs contain XML tags?

$
0
0
We have logs from all of our production servers being pushed to CloudWatch, and we're evaluating Splunk as a better way to search those logs. We were able to get the AWS add-on set-up with an account on AWS that is able to access CloudWatch logs without issue, and we are getting the data we want, for the most part. The only problem is that it seems like the XML coming back from CloudWatch is indexed raw, so it looks like this (for example): **Event #1:** us-east-1:production:SERVER1aws:cloudwatchlogsdefaultus-east-1:production:SERVER2aws:cloudwatchlogsdefault So, basically, it looks like there's CloudWatch wrapper XML around several lines of log output, and what's happening is that the first lines of log output are mixed-in with the closing tags of the last CloudWatch "event" and the opening tags of the new CloudWatch event. Since we have multiple servers, this sometimes leads to events from different servers being classified under the wrong source type. Is there something we can adjust to fix this, or this a bug / limitation in the add-on for CloudWatch?

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>