<?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: Custom made index outside Splunk, or multivalue index in Splunk ? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Custom-made-index-outside-Splunk-or-multivalue-index-in-Splunk/m-p/35842#M6527</link>
    <description>&lt;P&gt;These are not too large for Splunk. I think that events that are over 3 MB would be a problem, but 100K is not that big for Splunk. (And yes, I mean &lt;EM&gt;per event&lt;/EM&gt;)&lt;/P&gt;

&lt;P&gt;I think it is better to parse the whole file. Otherwise, how will you store and retrieve the rest of the information?&lt;/P&gt;

&lt;P&gt;Of course, if you never want to look at the rest of the event, then sure - just index the header.&lt;/P&gt;

&lt;P&gt;But don't separate the header from the data to make it easier for Splunk. You are not making it easier and you aren't fully utilizing Splunk, IMO.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2013 14:18:26 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2013-03-05T14:18:26Z</dc:date>
    <item>
      <title>Custom made index outside Splunk, or multivalue index in Splunk ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Custom-made-index-outside-Splunk-or-multivalue-index-in-Splunk/m-p/35839#M6524</link>
      <description>&lt;P&gt;I have logs in that form :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;field field field field field &amp;lt;verylong xml multivalued&amp;gt;
field field field field field &amp;lt;verylong xml multivalued&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If I want a result within seconds over all my events (but only a few fields), what is the best way to achieve that ?&lt;/P&gt;

&lt;P&gt;Have an logadapter, writer some how in the splunk api, the records I need, or writing only the few fields in a separate log file ?&lt;/P&gt;

&lt;P&gt;Or is there a way, to have an index with multiple columns field1,Field3,Field5 that are made by the indexer at index time ? so I could search within a second in that index, and make a drilldown to the whole event (that would last 30 seconds or more...) ??&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2013 20:23:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Custom-made-index-outside-Splunk-or-multivalue-index-in-Splunk/m-p/35839#M6524</guid>
      <dc:creator>sbsbb</dc:creator>
      <dc:date>2013-02-18T20:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Custom made index outside Splunk, or multivalue index in Splunk ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Custom-made-index-outside-Splunk-or-multivalue-index-in-Splunk/m-p/35840#M6525</link>
      <description>&lt;P&gt;You can make fields at index time with Splunk, but that is unnecessary and usually counter-productive. The Splunk index is unlike an RDBMS index; do not use your RDBMS experience to guide you, as it will lead you wrong. Splunk creates index entries for every keyword that it finds, so searching should always be very fast.&lt;/P&gt;

&lt;P&gt;Test this:&lt;/P&gt;

&lt;P&gt;1 - Define a sourcetype for your data&lt;/P&gt;

&lt;P&gt;2 - load the data into Splunk, creating NO index-time fields. Load the entire event; do not pre-process the data.&lt;/P&gt;

&lt;P&gt;3 - Define the fields (field1 - field5) for the sourcetype. You can do this before or after step 2.&lt;/P&gt;

&lt;P&gt;4 - Write your search: field1=A field2=B field3=C field4=D field5=E or whatever. Run it over a fairly short time period (an hour or less)&lt;/P&gt;

&lt;P&gt;5 - Use the Search Job Inspector to see how fast the search job ran. &lt;/P&gt;

&lt;P&gt;As long as each event is under 10MB, I don't think you will have any problems. The actual speed of a search is dependent on many factors:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;amount of data being searched&lt;/LI&gt;
&lt;LI&gt;number of indexers&lt;/LI&gt;
&lt;LI&gt;search operators used (for example, NOT slows a search)&lt;/LI&gt;
&lt;LI&gt;number of keywords &lt;/LI&gt;
&lt;LI&gt;whether the search is dense or sparse&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;A search that uses five simple terms (such as field1=A field2=B field3=C field4=D field5=E) is pretty trivial for Splunk and the speed should depend mostly on the amount of data being searched and how many indexers are doing the searching.&lt;/P&gt;

&lt;P&gt;The community can probably give more advice if you could tell us more about your overall data volume, search time range, etc.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2013 03:33:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Custom-made-index-outside-Splunk-or-multivalue-index-in-Splunk/m-p/35840#M6525</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-02-19T03:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Custom made index outside Splunk, or multivalue index in Splunk ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Custom-made-index-outside-Splunk-or-multivalue-index-in-Splunk/m-p/35841#M6526</link>
      <description>&lt;P&gt;What if the fields are in big XML-Files ?&lt;/P&gt;

&lt;P&gt;In that case, lets say the files comes from the same source, and  host... is it not good to have a some index, so that not all the files parsed ?&lt;/P&gt;

&lt;P&gt;Actually, I have a transform, on the data to seperate the header form the log, form the xml message.&lt;/P&gt;

&lt;P&gt;Event size in Byte is :&lt;BR /&gt;
p10(esize)  avg(esize)  p90(esize)&lt;BR /&gt;
3350    15690.074324    29600&lt;/P&gt;

&lt;P&gt;p10(esize)  avg(esize)  p90(esize)&lt;BR /&gt;
43200   66237.096045    92370&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2013 13:34:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Custom-made-index-outside-Splunk-or-multivalue-index-in-Splunk/m-p/35841#M6526</guid>
      <dc:creator>sbsbb</dc:creator>
      <dc:date>2013-03-05T13:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom made index outside Splunk, or multivalue index in Splunk ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Custom-made-index-outside-Splunk-or-multivalue-index-in-Splunk/m-p/35842#M6527</link>
      <description>&lt;P&gt;These are not too large for Splunk. I think that events that are over 3 MB would be a problem, but 100K is not that big for Splunk. (And yes, I mean &lt;EM&gt;per event&lt;/EM&gt;)&lt;/P&gt;

&lt;P&gt;I think it is better to parse the whole file. Otherwise, how will you store and retrieve the rest of the information?&lt;/P&gt;

&lt;P&gt;Of course, if you never want to look at the rest of the event, then sure - just index the header.&lt;/P&gt;

&lt;P&gt;But don't separate the header from the data to make it easier for Splunk. You are not making it easier and you aren't fully utilizing Splunk, IMO.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2013 14:18:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Custom-made-index-outside-Splunk-or-multivalue-index-in-Splunk/m-p/35842#M6527</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-03-05T14:18:26Z</dc:date>
    </item>
  </channel>
</rss>

