Getting Data In

LINE_BREAKERについて

RyoTakebayashi
Explorer

以下のログを1行ごとではなく、8行ごとにイベントを区切りたいのですが、1行ごとに区切られてしまって上手くいきません。

LOGICAL UNIT NUMBER 3
Name: 1692_Robin
UID: 60:06:01:60:31:F0:35:00:C3:C5:87:BA:45:59:E6:11
User Capacity (Blocks): 85899345920
User Capacity (GBs): 40960.000
Consumed Capacity (Blocks): 5794716672
Consumed Capacity (GBs): 2763.136
Is Thin LUN: Yes

LOGICAL UNIT NUMBER 2
Name: CDC-Pool-5800
UID: 60:06:01:60:31:F0:35:00:36:76:84:87:3F:59:E6:11
User Capacity (Blocks): 10737418240
User Capacity (GBs): 5120.000
Consumed Capacity (Blocks): 548425728
Consumed Capacity (GBs): 261.510
Is Thin LUN: Yes

props.confは以下のような設定にしております。

[vnx2-info]
LINE_BREAKER = (\n\n)
SHOULD_LINEMERGE = false

何が間違っていますでしょうか?

0 Karma
1 Solution

RyoTakebayashi
Explorer

私なりに解決しました。
恐らく、"Powershell v3 Modular Input "を利用してデータ入力したものに対して、props.confの設定は効かないものと思われます。(確信はありませんが・・)
一度、テキストファイルに保存すれば上手くいきました。

View solution in original post

RyoTakebayashi
Explorer

私なりに解決しました。
恐らく、"Powershell v3 Modular Input "を利用してデータ入力したものに対して、props.confの設定は効かないものと思われます。(確信はありませんが・・)
一度、テキストファイルに保存すれば上手くいきました。

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...