<?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 Re: DB Connect: How to index quoted string values from a database with a dbmon tail? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/DB-Connect-How-to-index-quoted-string-values-from-a-database/m-p/178468#M23388</link>
    <description>&lt;P&gt;I would use a view to select your data instead of selecting it directly from the table. The view should use a "replace" function (or the equivalent for your particular database) to substitute some other character for the quotes, or to insert an escape that Splunk will recognize.&lt;/P&gt;</description>
    <pubDate>Sun, 02 Nov 2014 03:56:40 GMT</pubDate>
    <dc:creator>pmdba</dc:creator>
    <dc:date>2014-11-02T03:56:40Z</dc:date>
    <item>
      <title>DB Connect: How to index quoted string values from a database with a dbmon tail?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/DB-Connect-How-to-index-quoted-string-values-from-a-database/m-p/178467#M23387</link>
      <description>&lt;P&gt;I have some data in a database that contains quoted values like the following:&lt;/P&gt;

&lt;P&gt;REPT ALM ONT "ONT-1-1-16-3-11:MJ,LEVELLO,SA,7-26,11-58-9: \"1490 Optical signal level too low\""&lt;/P&gt;

&lt;P&gt;When I run a dbquery, the value comes out with no issues.  However, when using a tail on the database, the data gets indexed as a key value pair and drops everything after first " and shows up in Splunk as REPT ALM ONT \/ (should be a forward slash as it looks like it's trying to escape the first double quote).&lt;/P&gt;

&lt;P&gt;Is there a setting that I can use to get all of the data indexed as the line shows up in the database so it shows up in Splunk?  Can I set KV_MODE=auto in the props.conf or transforms.conf for dbx?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 19:39:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/DB-Connect-How-to-index-quoted-string-values-from-a-database/m-p/178467#M23387</guid>
      <dc:creator>falkyre</dc:creator>
      <dc:date>2014-10-31T19:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect: How to index quoted string values from a database with a dbmon tail?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/DB-Connect-How-to-index-quoted-string-values-from-a-database/m-p/178468#M23388</link>
      <description>&lt;P&gt;I would use a view to select your data instead of selecting it directly from the table. The view should use a "replace" function (or the equivalent for your particular database) to substitute some other character for the quotes, or to insert an escape that Splunk will recognize.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Nov 2014 03:56:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/DB-Connect-How-to-index-quoted-string-values-from-a-database/m-p/178468#M23388</guid>
      <dc:creator>pmdba</dc:creator>
      <dc:date>2014-11-02T03:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect: How to index quoted string values from a database with a dbmon tail?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/DB-Connect-How-to-index-quoted-string-values-from-a-database/m-p/178469#M23389</link>
      <description>&lt;P&gt;Unfortunately your suggestion won't work as I am using the tail functionality to index the database tables on the fly.  If I do a dbquery, I get the values correctly but when I'm using the tail function, I am indexing the data with key-value pairs and that's when it "breaks".  I want to know how to get the tail to index the field with all of the quotes in it.  The actual key value pair is as follows:&lt;/P&gt;

&lt;P&gt;SUMMARY=REPT ALM ONT "ONT-1-1-16-3-11:MJ,LEVELLO,SA,7-26,11-58-9: "1490 Optical signal level too low""&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2014 02:42:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/DB-Connect-How-to-index-quoted-string-values-from-a-database/m-p/178469#M23389</guid>
      <dc:creator>falkyre</dc:creator>
      <dc:date>2014-11-03T02:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect: How to index quoted string values from a database with a dbmon tail?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/DB-Connect-How-to-index-quoted-string-values-from-a-database/m-p/178470#M23390</link>
      <description>&lt;P&gt;A view works just as well as a table for dbtail. My point was that with a view you could insert whatever escape character(s) Splunk needs into your data and possibly preserve the quotes that way. Another possibility is to define a new key/term within Splunk using the "extract fields" functionality.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2014 15:32:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/DB-Connect-How-to-index-quoted-string-values-from-a-database/m-p/178470#M23390</guid>
      <dc:creator>pmdba</dc:creator>
      <dc:date>2014-11-04T15:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect: How to index quoted string values from a database with a dbmon tail?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/DB-Connect-How-to-index-quoted-string-values-from-a-database/m-p/178471#M23391</link>
      <description>&lt;P&gt;Did some more digging and the data is being indexed properly in Splunk (ie I can see it in the Events view) but what's happening is it's getting escaped out when the default table view is done.  I followed your suggestion and created a new extraction based on the data that is showing up (using the extract fields functionality which is much nicer in Splunk 6.2).  Doing that got me to where I needed to be.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2014 19:26:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/DB-Connect-How-to-index-quoted-string-values-from-a-database/m-p/178471#M23391</guid>
      <dc:creator>falkyre</dc:creator>
      <dc:date>2014-11-04T19:26:36Z</dc:date>
    </item>
  </channel>
</rss>

