<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Why Splunk DB Connect is not properly importing data in Splunk after configuring an Oracle database input? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152943#M72298</link>
    <description>&lt;P&gt;Dear All,&lt;/P&gt;

&lt;P&gt;I'm working on splunk db connect app I have configured database input to one oracle database. The table is very big with more than 10 fields and there is more data in each field. When I searched this data, I can see events are properly indexed into splunk. One row of the database has  become multiple events is splunk.&lt;/P&gt;

&lt;P&gt;What might be the problem?&lt;/P&gt;

&lt;P&gt;I have tried applying &lt;BR /&gt;
[yoursourcetypehere]&lt;BR /&gt;
TRUNCATE = 0&lt;BR /&gt;
MAX_EVENTS = 10000&lt;BR /&gt;
But no luck could anyone me out here as soon as possible.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Gajanan Hiroji&lt;/P&gt;</description>
    <pubDate>Mon, 06 Oct 2014 13:51:31 GMT</pubDate>
    <dc:creator>gajananh999</dc:creator>
    <dc:date>2014-10-06T13:51:31Z</dc:date>
    <item>
      <title>Why Splunk DB Connect is not properly importing data in Splunk after configuring an Oracle database input?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152943#M72298</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;

&lt;P&gt;I'm working on splunk db connect app I have configured database input to one oracle database. The table is very big with more than 10 fields and there is more data in each field. When I searched this data, I can see events are properly indexed into splunk. One row of the database has  become multiple events is splunk.&lt;/P&gt;

&lt;P&gt;What might be the problem?&lt;/P&gt;

&lt;P&gt;I have tried applying &lt;BR /&gt;
[yoursourcetypehere]&lt;BR /&gt;
TRUNCATE = 0&lt;BR /&gt;
MAX_EVENTS = 10000&lt;BR /&gt;
But no luck could anyone me out here as soon as possible.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Gajanan Hiroji&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2014 13:51:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152943#M72298</guid>
      <dc:creator>gajananh999</dc:creator>
      <dc:date>2014-10-06T13:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk DB Connect is not properly importing data in Splunk after configuring an Oracle database input?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152944#M72299</link>
      <description>&lt;P&gt;I am getting key value pair values in splunk here are the details of regex.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[dbmon:kv]
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Oct 2014 13:58:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152944#M72299</guid>
      <dc:creator>gajananh999</dc:creator>
      <dc:date>2014-10-06T13:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk DB Connect is not properly importing data in Splunk after configuring an Oracle database input?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152945#M72300</link>
      <description>&lt;P&gt;I faced this issue too with rows which have very big values. Instead of trying with props.conf I actually created a template for them which will get the data in a different format Eg: the format which I used . You can place the field which is the very big in the middle of the template to avoid them breaking. Ofcourse, if your event has more than 10k characters, you might want to increase the TRUNCATE value.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$STARTTIME$| $OwnerName$ | $RoleName$ | $TargetUserName$ | $DBUserName$ | $TargetLoginName$ | $textdata$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Oct 2014 14:10:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152945#M72300</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2014-10-06T14:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk DB Connect is not properly importing data in Splunk after configuring an Oracle database input?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152946#M72301</link>
      <description>&lt;P&gt;Could you please help me out here where i have to do this?&lt;BR /&gt;
This is my table shema.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;column_name         type    nullable    size    decimal_digits  radix   
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;1   ID                  NUMBER  NO          10          0           10&lt;BR /&gt;&lt;BR /&gt;
2   TYPE    VARCHAR2    NO      255 0   10&lt;BR /&gt;&lt;BR /&gt;
3   PRECIS  VARCHAR2    YES     4000    0   10&lt;BR /&gt;&lt;BR /&gt;
4   ORIGIN_ENV  VARCHAR2    NO      255 0   10&lt;BR /&gt;&lt;BR /&gt;
5   ORIGIN_DT   TIMESTAMP(6)    NO      11  6   10&lt;BR /&gt;&lt;BR /&gt;
6   LAST_DT TIMESTAMP(6)    NO      11  6   10&lt;BR /&gt;&lt;BR /&gt;
7   LAST_ACTION VARCHAR2    YES     255 0   10&lt;BR /&gt;&lt;BR /&gt;
8   DETAIL  CLOB    YES     4000    0   10&lt;BR /&gt;&lt;BR /&gt;
9   COUNT   NUMBER  NO      10  0   10&lt;BR /&gt;&lt;BR /&gt;
10  COMMENTS    CLOB    YES     4000    0   10&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:48:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152946#M72301</guid>
      <dc:creator>gajananh999</dc:creator>
      <dc:date>2020-09-28T17:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk DB Connect is not properly importing data in Splunk after configuring an Oracle database input?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152947#M72302</link>
      <description>&lt;P&gt;When you define an input there is an option of selecting what type of Output Format you want. You must have selected kv . Instead of that select Template and for all the columns in your outputs create a template.&lt;/P&gt;

&lt;P&gt;For a STARTTIME field , you can have it as $STARTTIME$ in the template. You can use | or a space or any other way you want to define the separation of fields. I used | as its easy to write rex later on it. If you get stucks, post your input here. But should be pretty straight forward. Use the output fields as $$ in the template. &lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2014 14:26:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152947#M72302</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2014-10-06T14:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk DB Connect is not properly importing data in Splunk after configuring an Oracle database input?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152948#M72303</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;

&lt;P&gt;Here is the inputs.conf details.&lt;/P&gt;

&lt;P&gt;[dbmon-tail://qsync_svt/testingqsync]&lt;BR /&gt;
host = usadac&lt;BR /&gt;
index = test&lt;BR /&gt;
output.format = template&lt;BR /&gt;
output.timestamp = 1&lt;BR /&gt;
sourcetype = testingqsync&lt;BR /&gt;
table = QSYNC_APP.Q_MESSAGE_DETAIL_EXC&lt;BR /&gt;
tail.rising.column = ID&lt;BR /&gt;
output.template = $STARTTIME$| $ID$ | $TYPE$ | $PRECIS$ | $ORIGIN_ENV$ | $ORIGIN_DT$ | $LAST_DT$ | $LAST_ACTION$ | $DETAIL$ | $COUNT$ | $COMMENTS$&lt;BR /&gt;
still  am not able to get  the result properly.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Gajanan Hiroji&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:48:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152948#M72303</guid>
      <dc:creator>gajananh999</dc:creator>
      <dc:date>2020-09-28T17:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk DB Connect is not properly importing data in Splunk after configuring an Oracle database input?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152949#M72304</link>
      <description>&lt;P&gt;Whats the query? Can you post the output you expect it to be as&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2014 14:43:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152949#M72304</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2014-10-06T14:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk DB Connect is not properly importing data in Splunk after configuring an Oracle database input?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152950#M72305</link>
      <description>&lt;P&gt;Also I see the rising.column as ID. You sure you dont want it to be the time? Also add this to the input&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;output.timestamp.column = STARTTIME
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Oct 2014 14:44:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152950#M72305</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2014-10-06T14:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk DB Connect is not properly importing data in Splunk after configuring an Oracle database input?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152951#M72306</link>
      <description>&lt;P&gt;Format which works for me&lt;/P&gt;

&lt;P&gt;[dbmon-tail://&lt;STRONG&gt;&lt;EM&gt;/&lt;/EM&gt;&lt;/STRONG&gt;*]&lt;BR /&gt;
    host = abc&lt;BR /&gt;
    output.format = template&lt;BR /&gt;
    output.timestamp = 1&lt;BR /&gt;
    output.timestamp.column = STARTTIME&lt;BR /&gt;
    query = abcd&lt;BR /&gt;
    sourcetype = mssqlserver&lt;BR /&gt;
    tail.rising.column = STARTTIME&lt;BR /&gt;
    interval = 15&lt;BR /&gt;
    table =xyz&lt;BR /&gt;
    disabled = 0&lt;BR /&gt;
    output.template = $STARTTIME$| $START_TIME$ |  $ENDTIME$ |  $EventClass$ |  $NTUserName$ |  $LoginName$ |  $SPID$ |  $ObjectName$ |  $HostName$ |  $ClientProcessID$ |  $ApplicationName$ | $EventSubClass$  | $ObjectID$  | $Success$  | $ServerName$  | $ObjectType$  | $NestLevel$  | $State$  | $Error$  | $Mode$  | $DatabaseName$  | $FileName$  | $OwnerName$  | $RoleName$  | $TargetUserName$  | $DBUserName$  | $TargetLoginName$  | $textdata$&lt;BR /&gt;
    index = 123&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2014 14:47:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152951#M72306</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2014-10-06T14:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk DB Connect is not properly importing data in Splunk after configuring an Oracle database input?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152952#M72307</link>
      <description>&lt;P&gt;I trying to pull all the data from the table so i am mentioned table name there.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2014 14:47:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152952#M72307</guid>
      <dc:creator>gajananh999</dc:creator>
      <dc:date>2014-10-06T14:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk DB Connect is not properly importing data in Splunk after configuring an Oracle database input?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152953#M72308</link>
      <description>&lt;P&gt;Hello.&lt;BR /&gt;
But there is no column in table called STRATTIME.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2014 14:48:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152953#M72308</guid>
      <dc:creator>gajananh999</dc:creator>
      <dc:date>2014-10-06T14:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk DB Connect is not properly importing data in Splunk after configuring an Oracle database input?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152954#M72309</link>
      <description>&lt;P&gt;Is there no time stamp? Starttime was actually an example. If no timestamp and you want to use ID as rising.column then remove the $STARTTIME$ from your output. If you have timestamp then use that field&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2014 14:51:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152954#M72309</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2014-10-06T14:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk DB Connect is not properly importing data in Splunk after configuring an Oracle database input?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152955#M72310</link>
      <description>&lt;P&gt;Hello.&lt;BR /&gt;
here is my new inputs.conf file&lt;/P&gt;

&lt;P&gt;[dbmon-tail://qsync_svt/testingqsync]&lt;BR /&gt;
host = usadac&lt;BR /&gt;
index = test&lt;BR /&gt;
output.format = template&lt;BR /&gt;
output.timestamp = 1&lt;BR /&gt;
sourcetype = testingqsync1&lt;BR /&gt;
table = QSYNC_APP.Q_MESSAGE_DETAIL_EXC&lt;BR /&gt;
tail.rising.column = ID&lt;BR /&gt;
output.template = $ID$ | $TYPE$ | $PRECIS$ | $ORIGIN_ENV$ | $ORIGIN_DT$ | $LAST_DT$ | $LAST_ACTION$ | $DETAIL$ | $COUNT$ | $COMMENTS$&lt;BR /&gt;
interval = auto&lt;/P&gt;

&lt;P&gt;using this not able to index data into splunk&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:48:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152955#M72310</guid>
      <dc:creator>gajananh999</dc:creator>
      <dc:date>2020-09-28T17:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk DB Connect is not properly importing data in Splunk after configuring an Oracle database input?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152956#M72311</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am able to see the data into splunk now thanks&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Gajanan Hiroji&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2014 15:00:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-Splunk-DB-Connect-is-not-properly-importing-data-in-Splunk/m-p/152956#M72311</guid>
      <dc:creator>gajananh999</dc:creator>
      <dc:date>2014-10-06T15:00:32Z</dc:date>
    </item>
  </channel>
</rss>

