github.com/observiq/bindplane-agent@v1.51.0/internal/report/snapshot/testdata/logs/after/matches-resource.yaml (about)

     1  resourceLogs:
     2    - resource:
     3        attributes:
     4          - key: host.name
     5            value:
     6              stringValue: Brandons-Legit-Windows-PC-Not-From-Mac-I-Swear
     7          - key: os.type
     8            value:
     9              stringValue: windows
    10      scopeLogs:
    11        - logRecords:
    12            - attributes:
    13                - key: log_type
    14                  value:
    15                    stringValue: w3c
    16                - key: log.file.name
    17                  value:
    18                    stringValue: example.log
    19              body:
    20                kvlistValue:
    21                  values:
    22                    - key: sc-status
    23                      value:
    24                        stringValue: "501"
    25                    - key: s-sitename
    26                      value:
    27                        stringValue: red-server
    28                    - key: s-computername
    29                      value:
    30                        stringValue: your-host
    31                    - key: s-ip
    32                      value:
    33                        stringValue: 128.68.153.13
    34                    - key: timestamp
    35                      value:
    36                        stringValue: 30-01-2024 16:33:54.909660
    37                    - key: cs-method
    38                      value:
    39                        stringValue: DELETE
    40              observedTimeUnixNano: "1706632435103211000"
    41              spanId: ""
    42              traceId: ""
    43            - attributes:
    44                - key: log_type
    45                  value:
    46                    stringValue: w3c
    47                - key: log.file.name
    48                  value:
    49                    stringValue: example.log
    50              body:
    51                stringValue: This is a string body
    52              observedTimeUnixNano: "1706632435103211000"
    53              spanId: ""
    54              traceId: ""
    55            - attributes:
    56                - key: log_type
    57                  value:
    58                    stringValue: w3c
    59                - key: log.file.name
    60                  value:
    61                    stringValue: example.log
    62                - key: unique-attribute
    63                  value:
    64                    stringValue: unique-value
    65              body:
    66                kvlistValue:
    67                  values:
    68                    - key: s-ip
    69                      value:
    70                        stringValue: 19.25.92.158
    71                    - key: cs-method
    72                      value:
    73                        stringValue: DELETE
    74                    - key: sc-status
    75                      value:
    76                        stringValue: "500"
    77                    - key: timestamp
    78                      value:
    79                        stringValue: 30-01-2024 16:33:54.920213
    80                    - key: s-sitename
    81                      value:
    82                        stringValue: blue-server
    83                    - key: s-computername
    84                      value:
    85                        stringValue: my-host
    86              observedTimeUnixNano: "1706632435103340000"
    87              spanId: ""
    88              traceId: ""
    89          scope: {}