<?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: Splunk indexing using everyother fieldname in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193713#M38602</link>
    <description>&lt;P&gt;removing the space from my DELIMS stanza fixes one problem but then because my data is quoted and separated by commas the data is coming into Splunk with the quotes.  This causes me to have to use a escape character to run any search.  For example: &lt;/P&gt;

&lt;P&gt;levelname="\"[INFO]\""  &lt;/P&gt;

&lt;P&gt;This is how I would have to run a search&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jan 2014 15:35:01 GMT</pubDate>
    <dc:creator>JoeSco27</dc:creator>
    <dc:date>2014-01-06T15:35:01Z</dc:date>
    <item>
      <title>Splunk indexing using everyother fieldname</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193708#M38597</link>
      <description>&lt;P&gt;I am running into an issue with my transforms and props config files, my data is being logged properly to my index but when I set my fields in the transforms.conf it only takes everyother fieldname.  Below are my transforms.conf stanza with the work-around I have implemented and my props.conf, clearly this is a bad method and i am trying to figure out why splunk would be taking everyother fieldname  &lt;/P&gt;

&lt;H2&gt;transforms.conf&lt;/H2&gt;

&lt;PRE&gt;&lt;CODE&gt;    [mySourcetype]
     DELIMS = ", "
     FIELDS = "timestamp", "", "levelname", "", "someid", "", "somecode", "", "someothercode", "",      "someotherid"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That empty double bracket is the only way for my logs to be formatted properly. &lt;/P&gt;

&lt;H2&gt;props.conf&lt;/H2&gt;

&lt;PRE&gt;&lt;CODE&gt;  [mySourcetype]
  TRUNCATE = 0
  MAX_EVENTS = 10000
  MAX_TIMESTAMP_LOOKAHEAD = 60
  SHOULD_LINEMERGE = false
  TIME_FORMAT = %Y-%m-%d %H:%M:%S
  REPORT-mySourcetype = mySourcetype
  BREAK_ONLY_BEFORE = TIMESTAMP
  KV_MODE = auto
  given_type = csv
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jan 2014 15:35:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193708#M38597</guid>
      <dc:creator>JoeSco27</dc:creator>
      <dc:date>2014-01-02T15:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk indexing using everyother fieldname</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193709#M38598</link>
      <description>&lt;P&gt;Please provide an example of your data.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2014 16:11:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193709#M38598</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2014-01-02T16:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk indexing using everyother fieldname</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193710#M38599</link>
      <description>&lt;P&gt;I can't replicate your issue.  The empty double bracket should not be an issue.  What version are you running?&lt;BR /&gt;
Can you post an obfuscated data sample?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2014 17:30:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193710#M38599</guid>
      <dc:creator>jharty_splunk</dc:creator>
      <dc:date>2014-01-02T17:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk indexing using everyother fieldname</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193711#M38600</link>
      <description>&lt;P&gt;It looks like you have both a comma and a space in your &lt;CODE&gt;DELIMS&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;DELIMS = ", "
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So you are telling Splunk that both a comma and a space are a delimiter. If your data looks like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Mary, 12345, Utah
Pat, 98765, Virginia
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then perhaps Splunk is seeing the data like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Mary&amp;lt;delim&amp;gt;null&amp;lt;delim&amp;gt;12345&amp;lt;delim&amp;gt;null&amp;lt;delim&amp;gt;Utah
etc.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Try&lt;BR /&gt;
    DELIMS = ","&lt;/P&gt;

&lt;P&gt;Also, as others have suggested, a sample of your data would also be very helpful.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2014 02:04:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193711#M38600</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-01-03T02:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk indexing using everyother fieldname</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193712#M38601</link>
      <description>&lt;P&gt;A sample bit of my data looks like this:&lt;/P&gt;

&lt;P&gt;"2014-01-06 10:22:19", "[INFO]", "SomeID", "ABCD", "EFGH", "1234"&lt;/P&gt;

&lt;P&gt;"2014-01-06 10:22:19", "[DEBUG]", "SomeOtherID", "AAAA", "BBBB", "ABABA"&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 15:31:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193712#M38601</guid>
      <dc:creator>JoeSco27</dc:creator>
      <dc:date>2014-01-06T15:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk indexing using everyother fieldname</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193713#M38602</link>
      <description>&lt;P&gt;removing the space from my DELIMS stanza fixes one problem but then because my data is quoted and separated by commas the data is coming into Splunk with the quotes.  This causes me to have to use a escape character to run any search.  For example: &lt;/P&gt;

&lt;P&gt;levelname="\"[INFO]\""  &lt;/P&gt;

&lt;P&gt;This is how I would have to run a search&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 15:35:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193713#M38602</guid>
      <dc:creator>JoeSco27</dc:creator>
      <dc:date>2014-01-06T15:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk indexing using everyother fieldname</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193714#M38603</link>
      <description>&lt;P&gt;A backslash between first set of double quotes, and backslash before second pair.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 15:35:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193714#M38603</guid>
      <dc:creator>JoeSco27</dc:creator>
      <dc:date>2014-01-06T15:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk indexing using everyother fieldname</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193715#M38604</link>
      <description>&lt;P&gt;In &lt;CODE&gt;props.conf&lt;/CODE&gt;, I think you should set &lt;/P&gt;

&lt;P&gt;KV_MODE = none&lt;/P&gt;

&lt;P&gt;since you are explicitly extracting the fields in &lt;CODE&gt;transforms.conf&lt;/CODE&gt; - And Very Important:&lt;BR /&gt;
YOU SHOULD NOT SET &lt;CODE&gt;given_type&lt;/CODE&gt;, so remove&lt;/P&gt;

&lt;P&gt;given_type = csv&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 22:01:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-indexing-using-everyother-fieldname/m-p/193715#M38604</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-01-06T22:01:18Z</dc:date>
    </item>
  </channel>
</rss>

