fluent-plugin-sumologic-radiant 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 444779cf8d9e61cf9ed74754700f91aa8c37f5ec70fb6e2f543220bd01128768
4
- data.tar.gz: 13d0ade5eea1ad17d27c7733887dbcdbcb234ddb9040ff990f3d1dd41619b34b
3
+ metadata.gz: df87a5e95372ce2cc19104f2d9eca6d948b4bb9b84c9f8e3884f31a409eec53b
4
+ data.tar.gz: 7d7aa1add88a589a4bbf81120af69f229f9dea381a1877a61639c87d4598addb
5
5
  SHA512:
6
- metadata.gz: 8f2eaf6e9c0feddc3fba4c746f312246c6ab460ca39b35a93445590aae5aee6852871ab5f396709ac6bb8257d0a59a07ce9cf5d5fae0909cc7edd2cb9f81f9bb
7
- data.tar.gz: a637b7f32744ada183be6d66df65fbe302d8de37aa424b795c55afe70255e9f312e0e86b226a239d6726bf704068954667e699a1e89b3eade8030d7fd93bc047
6
+ metadata.gz: a6e8b34facf0d9fbfa14197a190f34155355d8c2794a08970f02ed055f30838cf72e59d0f92b7a1209b17f35b39c2505e2992e0df89f02a16e1d0a5448f1e109
7
+ data.tar.gz: eec162663af30d156dafa70e0e9d479ce161ffcd3bfe65c2374148e3c05f810b44a8b033573cdb21c9734db586ff24a57415053dd7a802b051e03c18f85784bd
@@ -165,7 +165,7 @@ module Fluent
165
165
 
166
166
  # Main Sumologic output plugin
167
167
  class SumologicRadiantOutput < Output
168
- Fluent::Plugin.register_output("sumologic_radiant", self)
168
+ Fluent::Plugin.register_output("sumologic", self)
169
169
 
170
170
  helpers :compat_parameters
171
171
 
@@ -313,17 +313,14 @@ module Fluent
313
313
  record
314
314
  end
315
315
 
316
- # Strip sumo_metadata and dump to json
316
+ # Strip sumo_metadata and dump to JSON.
317
+ #
318
+ # NOTE: Unlike earlier versions, this method no longer attempts to JSON-parse
319
+ # the value of @log_key. This makes behavior closer to the original
320
+ # fluent-plugin-sumologic_output, where plain-text log lines are accepted
321
+ # without raising parsing errors when only `endpoint` is configured.
317
322
  def dump_log(log_record)
318
323
  log_record.delete("_sumo_metadata")
319
- begin
320
- if log_record.key?(@log_key)
321
- hash = Oj.load(log_record[@log_key])
322
- log_record[@log_key] = hash
323
- end
324
- rescue Oj::ParseError
325
- # Keep original if parsing fails
326
- end
327
324
  Oj.dump(log_record)
328
325
  end
329
326
 
@@ -3,7 +3,7 @@
3
3
  module Fluent
4
4
  module Plugin
5
5
  module SumologicRadiant
6
- VERSION = "0.1.1"
6
+ VERSION = "0.1.3"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-sumologic-radiant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - G. Rahul Nutakki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-18 00:00:00.000000000 Z
11
+ date: 2025-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd