Archive

Splunk Add-on for Microsoft Cloud Services -- mscs:storage:blob props.conf

Communicator

This Splunk supported add-on doesn't appear to have any configuration for the storage blob input, which ends with incorrect line breaking, not in json format, etc. Has anyone ran into this, and has anyone created any configuration for this sourcetype?

Tags (1)
0 Karma

Communicator

SHOULD_LINEMERGE=false
LINE_BREAKER: (,[\r\n]+\s+){
SECCMD-REMOVEFOOTER = \s}\s+]\s+}
SECCMD-REMOVEHEADER = {\s+"records":\s+[\s+
disabled = false
TIME_PREFIX = "time":\s"
TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%Q
MAX_TIMESTAMP_LOOKAHEAD = 800

However, with this Storage Blob data, it appears to be starting mid date/timestamp for time extraction, and I can't figure out why. Here is a sample of data:

{
                "records": 
                [

                                {
                                                "count": 12,
                                                "total": 0,
                                                "minimum": 0,
                                                "maximum": 0,
                                                "average": 0,
                                                "resourceId": "devicea",
                                                "time": "2018-07-06T08:00:00.0000000Z",
                                                "metricName": "Throughput",
                                                "timeGrain": "PT1M"
                                }
                                ,
                                {
                                                "count": 12,
                                                "total": 0,
                                                "minimum": 0,
                                                "maximum": 0,
                                                "average": 0,
                                                "resourceId": "deviceb",
                                                "time": "2018-07-06T08:01:00.0000000Z",
                                                "metricName": "Throughput",
                                                "timeGrain": "PT1M"
                                }
                                ,
                                {
0 Karma