Hello Splunkers!!
I have used DB connect to fetch the data from oracle database table and after ingesting the data I see that the data of the same timestamp is breaking in different lines. But I want a data of one timestamp in a single event.
Eg: Here timestamp with 2023-08-08 14:35:34.849 breaked with 8 different lines.
Expected result :
2023-08-08 14:35:34.849, IDPARENT="3433794", NAME="OPERATORID", VALUE_NUMBER="1"
IDPARENT="3433794", NAME="INSTANCEID", VALUE_NUMBER="900000000"
IDPARENT="3433794", NAME="REASON"
IDPARENT="3433794", NAME="PLANNEDQUANTITYEACHES", VALUE_NUMBER="0"
,IDPARENT="3433794", NAME="PLANNEDQUANTITY", VALUE_NUMBER="0"
IDPARENT="3433794", NAME="TASKID", VALUE_NUMBER="10009113755"
IDPARENT="3433794", NAME="STOREORDERNR", VALUE_TEXT="1000000432"
IDPARENT="3433794", NAME="OPERATOR", VALUE_TEXT="1"
Please help me how to achieve this. Is there any pertained source type available for oracle database for dB connect.?
@uagraw01 - Splunk does not do that. What I can see is your database table has different rows for each of these. So I see this as expected behavior.
To achieve what you want (To combine them into a single line) you have two options:
* combine with SQL query -> Use GROUP BY
* combine with Splunk query -> | stats values(*) as * by _time
I hope this helps!!!
@uagraw01 - Splunk does not do that. What I can see is your database table has different rows for each of these. So I see this as expected behavior.
To achieve what you want (To combine them into a single line) you have two options:
* combine with SQL query -> Use GROUP BY
* combine with Splunk query -> | stats values(*) as * by _time
I hope this helps!!!
Is there any lead from anyone on this issue ?