Getting Data In

split each line as separate event

harishsundharam
New Member

I am getting disk space detail like below

root 13G 7.4G 4.1G 65% /
tmpfs 6.3G 0 6.3G 0% /dev/shm
sda1 500M 121M 353M 26% /boot
sdb1 43G 32G 8.8G 79% /data

But this has been showing in the single event, I want to get each line as a separate event with using linebreaker in PROS.conf.
Anyone help me to get this done

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Consider changing LINE_BREAKER to ([\r\n]*).

---
If this reply helps you, Karma would be appreciated.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

What are your existing props.conf settings for that sourcetype?

---
If this reply helps you, Karma would be appreciated.
0 Karma

harishsundharam
New Member

[ hdspace]
SHOULD_LINEMERGE=false
NO_BINARY_CHECK=true
MAX_TIMESTAMP_LOOKAHEAD=36
LINE_BREAKER=(\n\r)*

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...