Getting Data In

single event for mutiple lines

roopeshetty
Path Finder

Hi Team,

 

I am collecting metrics using API calls for every 5 minutes , but all the metrics are coming as a single event as below for every 5 minutes.

 

confluent_kafka_server_request_bytes{kafka_id="tythtyt",principal_id="sa-r29997",type="Fetch",} 2092668.0 1683872880000

confluent_kafka_server_request_bytes{kafka_id="tythtyt",principal_id="sa-9pyr8m",type="Metadata",} 1849.0 1683872880000

confluent_kafka_server_request_bytes{kafka_id="tythtyt",principal_id="sa-r29997",type="Metadata",} 66279.0 1683872880000

confluent_kafka_server_request_bytes{kafka_id="tythtyt",principal_id="u-09pr56",type="Metadata",} 0.0 1683872880000

confluent_kafka_server_response_bytes{kafka_id="rtrtt",principal_id="sa-y629ok",type="Fetch",} 5019.0 1683872880000

confluent_kafka_server_response_bytes{kafka_id="trtrt",principal_id="sa-8gg7jr",type="Metadata",} 0.0 1683872880000

confluent_kafka_server_memory{kafka_id="yyyy",topic="host002.json.cs.tt",} 1.0 1683872880000

confluent_kafka_server_memory{kafka_id="yyyy",topic="host002.json.cs.tt.enriched",} 1.0 1683872880000

confluent_kafka_server_memory{kafka_id="yyyy",topic="host002.json.cs.tt.fulfilment.auto",} 1.0 1683872880000

confluent_kafka_server_memory{kafka_id="yyyy",topic="host002.json.cs.tt.gg",} 0.0 1683872880000

 

 

I need to break these events as individuals (which ever events starting from text “confluent_kafka_”)  . I have edited my props.conf as below but its not coming as expected still its coming as a single event. Can some one please guide me how to do it.

 

[source::kafka_metrics://kafka_metrics]

LINE_BREAKER = (confluent_kafka_)(\s)

SHOULD_LINEMERGE = false

Labels (2)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...