<?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: Why PREAMBLE_REGEX doesn't work on my indexer? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360520#M65754</link>
    <description>&lt;P&gt;First of all: thx to MuS for his comment. I hope he (or she) bring me on the right way.&lt;/P&gt;

&lt;P&gt;I tried out to promote 'ONLY' the PREAMBLE_REGEX separated in a props.conf to the forwarder. &lt;BR /&gt;
In the props.conf on the indexer i commented this parameter out.&lt;BR /&gt;
But the result is disappointing. Many earthquake-events now appears in one event. So i think, it wasn't a good idea, to split the parameters from props.conf between the both indexer and the one forwarder.&lt;/P&gt;

&lt;P&gt;Tomorrow i'll try to promote the hole props.conf from the indexers to the one forwarder.&lt;/P&gt;

&lt;P&gt;My expectation to the result is, that only the earthquake-data will appear as result of a search. The 'three lines above' shouldn't appear in my opinion. The aren't earthquake-data, but metadata for it. &lt;BR /&gt;
I mean the data, beginning with  &lt;/P&gt;</description>
    <pubDate>Mon, 13 Nov 2017 18:36:55 GMT</pubDate>
    <dc:creator>a101755</dc:creator>
    <dc:date>2017-11-13T18:36:55Z</dc:date>
    <item>
      <title>Why PREAMBLE_REGEX doesn't work on my indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360518#M65752</link>
      <description>&lt;P&gt;I want to index 'earthquake' data. Source is "&lt;A href="https://earthquake.usgs.gov/fdsnws/event/1/query?format=xml&amp;amp;starttime=2014-01-01&amp;amp;endtime=2014-01-02&amp;amp;minmagnitude=5"&gt;https://earthquake.usgs.gov/fdsnws/event/1/query?format=xml&amp;amp;starttime=2014-01-01&amp;amp;endtime=2014-01-02&amp;amp;minmagnitude=5&lt;/A&gt;".&lt;/P&gt;

&lt;P&gt;My first step was downloading data and try to upload per splunk-web the data once.&lt;BR /&gt;
After building the correct parameterset (on the gui), i build a props.conf for the indexer.&lt;BR /&gt;
Put the props.conf in the right place on the indexer the result is different. It seems that the parameter PREAMBLE_REGEX doesn't work on my indexers. &lt;BR /&gt;
Details:&lt;BR /&gt;
Splunk Version    7.0.0&lt;BR /&gt;
Splunk Build       c8a78efdd40f &lt;/P&gt;

&lt;P&gt;Searchhead, two indexers and to forwarders.&lt;BR /&gt;
Earthquake-Data on forwarder-one&lt;BR /&gt;
Filemonitoring on earthquake-Data works fine&lt;/P&gt;

&lt;P&gt;props.conf on both indexers&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mg_earthquake_data]
BREAK_ONLY_BEFORE = &amp;lt;/event&amp;gt;
DATETIME_CONFIG = 
NO_BINARY_CHECK = true
PREAMBLE_REGEX = &amp;lt;[?qe][x:v][mqe][lun][ at][vkP]
TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%3Q
TIME_PREFIX = &amp;lt;time&amp;gt;&amp;lt;value&amp;gt;
category = Miscellaneous
disabled = false
pulldown_type = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;example-Earthquake-Data - you can see, that the first three lines appear as on event.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11/12/17
3:33:15.000 PM  
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;q:quakeml xmlns="http://quakeml.org/xmlns/bed/1.2" xmlns:anss="http://anss.org/xmlns/event/0.1" xmlns:catalog="http://anss.org/xmlns/catalog/0.1" xmlns:q="http://quakeml.org/xmlns/quakeml/1.2"&amp;gt;
&amp;lt;eventParameters publicID="quakeml:earthquake.usgs.gov/fdsnws/event/1/query?format=xml&amp;amp;amp;starttime=2017-11-10T182126&amp;amp;amp;endtime=2017-11-12T153312&amp;amp;amp;minmagnitude=-0.9"&amp;gt;

    host =  www 
    source =    /opt/www/earthquakeData 
    sourcetype =    mg_earthquake_data  

    11/12/17
2:26:05.650 PM  
&amp;lt;event catalog:datasource="nc" catalog:eventsource="nc" catalog:eventid="72923246" publicID="quakeml:earthquake.usgs.gov/fdsnws/event/1/query?eventid=nc72923246&amp;amp;amp;format=quakeml"&amp;gt;&amp;lt;description&amp;gt;&amp;lt;type&amp;gt;earthquake name&amp;lt;/type&amp;gt;&amp;lt;text&amp;gt;13km ESE of Mammoth Lakes, California&amp;lt;/text&amp;gt;&amp;lt;/description&amp;gt;&amp;lt;origin catalog:datasource="nc" catalog:dataid="nc72923246" catalog:eventsource="nc" catalog:eventid="72923246" publicID="quakeml:earthquake.usgs.gov/archive/product/origin/nc72923246/nc/1510496861430/product.xml"&amp;gt;&amp;lt;time&amp;gt;&amp;lt;value&amp;gt;2017-11-12T14:26:05.650Z&amp;lt;/value&amp;gt;&amp;lt;/time&amp;gt;&amp;lt;longitude&amp;gt;&amp;lt;value&amp;gt;-118.8258362&amp;lt;/value&amp;gt;&amp;lt;/longitude&amp;gt;&amp;lt;latitude&amp;gt;&amp;lt;value&amp;gt;37.6068344&amp;lt;/value&amp;gt;&amp;lt;/latitude&amp;gt;&amp;lt;depth&amp;gt;&amp;lt;value&amp;gt;3690&amp;lt;/value&amp;gt;&amp;lt;uncertainty&amp;gt;390&amp;lt;/uncertainty&amp;gt;&amp;lt;/depth&amp;gt;&amp;lt;originUncertainty&amp;gt;&amp;lt;horizontalUncertainty&amp;gt;280&amp;lt;/horizontalUncertainty&amp;gt;&amp;lt;preferredDescription&amp;gt;horizontal uncertainty&amp;lt;/preferredDescription&amp;gt;&amp;lt;/originUncertainty&amp;gt;&amp;lt;quality&amp;gt;&amp;lt;usedPhaseCount&amp;gt;21&amp;lt;/usedPhaseCount&amp;gt;&amp;lt;usedStationCount&amp;gt;21&amp;lt;/usedStationCount&amp;gt;&amp;lt;standardError&amp;gt;0.04&amp;lt;/standardError&amp;gt;&amp;lt;azimuthalGap&amp;gt;128&amp;lt;/azimuthalGap&amp;gt;&amp;lt;minimumDistance&amp;gt;0.02469&amp;lt;/minimumDistance&amp;gt;&amp;lt;/quality&amp;gt;&amp;lt;evaluationMode&amp;gt;automatic&amp;lt;/evaluationMode&amp;gt;&amp;lt;creationInfo&amp;gt;&amp;lt;agencyID&amp;gt;NC&amp;lt;/agencyID&amp;gt;&amp;lt;creationTime&amp;gt;2017-11-12T14:27:41.430Z&amp;lt;/creationTime&amp;gt;&amp;lt;version&amp;gt;0&amp;lt;/version&amp;gt;&amp;lt;/creationInfo&amp;gt;&amp;lt;/origin&amp;gt;&amp;lt;magnitude catalog:datasource="nc" catalog:dataid="nc72923246" catalog:eventsource="nc" catalog:eventid="72923246" publicID="quakeml:earthquake.usgs.gov/archive/product/origin/nc72923246/nc/1510496861430/product.xml#magnitude"&amp;gt;&amp;lt;mag&amp;gt;&amp;lt;value&amp;gt;2.04&amp;lt;/value&amp;gt;&amp;lt;uncertainty&amp;gt;0.16&amp;lt;/uncertainty&amp;gt;&amp;lt;/mag&amp;gt;&amp;lt;type&amp;gt;md&amp;lt;/type&amp;gt;&amp;lt;stationCount&amp;gt;18&amp;lt;/stationCount&amp;gt;&amp;lt;originID&amp;gt;quakeml:earthquake.usgs.gov/archive/product/origin/nc72923246/nc/1510496861430/product.xml&amp;lt;/originID&amp;gt;&amp;lt;evaluationMode&amp;gt;automatic&amp;lt;/evaluationMode&amp;gt;&amp;lt;creationInfo&amp;gt;&amp;lt;agencyID&amp;gt;NC&amp;lt;/agencyID&amp;gt;&amp;lt;creationTime&amp;gt;2017-11-12T14:27:41.430Z&amp;lt;/creationTime&amp;gt;&amp;lt;/creationInfo&amp;gt;&amp;lt;/magnitude&amp;gt;&amp;lt;preferredOriginID&amp;gt;quakeml:earthquake.usgs.gov/archive/product/origin/nc72923246/nc/1510496861430/product.xml&amp;lt;/preferredOriginID&amp;gt;&amp;lt;preferredMagnitudeID&amp;gt;quakeml:earthquake.usgs.gov/archive/product/origin/nc72923246/nc/1510496861430/product.xml#magnitude&amp;lt;/preferredMagnitudeID&amp;gt;&amp;lt;type&amp;gt;earthquake&amp;lt;/type&amp;gt;&amp;lt;creationInfo&amp;gt;&amp;lt;agencyID&amp;gt;nc&amp;lt;/agencyID&amp;gt;&amp;lt;creationTime&amp;gt;2017-11-12T14:30:04.241Z&amp;lt;/creationTime&amp;gt;&amp;lt;version&amp;gt;0&amp;lt;/version&amp;gt;&amp;lt;/creationInfo&amp;gt;&amp;lt;/event&amp;gt;

    host =  www 
    source =    /opt/www/earthquakeData 
    sourcetype =    mg_earthquake_data  

    11/12/17
2:07:44.660 PM  
&amp;lt;event catalog:datasource="ak" catalog:eventsource="ak" catalog:eventid="17185809" publicID="quakeml:earthquake.usgs.gov/fdsnws/event/1/query?eventid=ak17185809&amp;amp;amp;format=quakeml"&amp;gt;&amp;lt;description&amp;gt;&amp;lt;type&amp;gt;earthquake name&amp;lt;/type&amp;gt;&amp;lt;text&amp;gt;59km SSW of Deltana, Alaska&amp;lt;/text&amp;gt;&amp;lt;/description&amp;gt;&amp;lt;origin catalog:datasource="ak" catalog:dataid="AK17185809" catalog:eventsource="ak" catalog:eventid="17185809" publicID="quakeml:earthquake.usgs.gov/archive/product/origin/AK17185809/ak/1510496135560/product.xml"&amp;gt;&amp;lt;time&amp;gt;&amp;lt;value&amp;gt;2017-11-12T14:07:44.660Z&amp;lt;/value&amp;gt;&amp;lt;/time&amp;gt;&amp;lt;longitude&amp;gt;&amp;lt;value&amp;gt;-145.5431&amp;lt;/value&amp;gt;&amp;lt;/longitude&amp;gt;&amp;lt;latitude&amp;gt;&amp;lt;value&amp;gt;63.3555&amp;lt;/value&amp;gt;&amp;lt;/latitude&amp;gt;&amp;lt;depth&amp;gt;&amp;lt;value&amp;gt;0&amp;lt;/value&amp;gt;&amp;lt;uncertainty&amp;gt;300&amp;lt;/uncertainty&amp;gt;&amp;lt;/depth&amp;gt;&amp;lt;originUncertainty&amp;gt;&amp;lt;horizontalUncertainty&amp;gt;0&amp;lt;/horizontalUncertainty&amp;gt;&amp;lt;preferredDescription&amp;gt;horizontal uncertainty&amp;lt;/preferredDescription&amp;gt;&amp;lt;/originUncertainty&amp;gt;&amp;lt;quality&amp;gt;&amp;lt;usedPhaseCount&amp;gt;19&amp;lt;/usedPhaseCount&amp;gt;&amp;lt;standardError&amp;gt;0.82&amp;lt;/standardError&amp;gt;&amp;lt;/quality&amp;gt;&amp;lt;evaluationMode&amp;gt;automatic&amp;lt;/evaluationMode&amp;gt;&amp;lt;creationInfo&amp;gt;&amp;lt;creationTime&amp;gt;2017-11-12T14:15:35.560Z&amp;lt;/creationTime&amp;gt;&amp;lt;version&amp;gt;1&amp;lt;/version&amp;gt;&amp;lt;/creationInfo&amp;gt;&amp;lt;/origin&amp;gt;&amp;lt;magnitude catalog:datasource="ak" catalog:dataid="AK17185809" catalog:eventsource="ak" catalog:eventid="17185809" publicID="quakeml:earthquake.usgs.gov/archive/product/origin/AK17185809/ak/1510496135560/product.xml#magnitude"&amp;gt;&amp;lt;mag&amp;gt;&amp;lt;value&amp;gt;2.1&amp;lt;/value&amp;gt;&amp;lt;/mag&amp;gt;&amp;lt;type&amp;gt;ml&amp;lt;/type&amp;gt;&amp;lt;originID&amp;gt;quakeml:earthquake.usgs.gov/archive/product/origin/AK17185809/ak/1510496135560/product.xml&amp;lt;/originID&amp;gt;&amp;lt;evaluationMode&amp;gt;automatic&amp;lt;/evaluationMode&amp;gt;&amp;lt;creationInfo&amp;gt;&amp;lt;creationTime&amp;gt;2017-11-12T14:15:35.560Z&amp;lt;/creationTime&amp;gt;&amp;lt;/creationInfo&amp;gt;&amp;lt;/magnitude&amp;gt;&amp;lt;preferredOriginID&amp;gt;quakeml:earthquake.usgs.gov/archive/product/origin/AK17185809/ak/1510496135560/product.xml&amp;lt;/preferredOriginID&amp;gt;&amp;lt;preferredMagnitudeID&amp;gt;quakeml:earthquake.usgs.gov/archive/product/origin/AK17185809/ak/1510496135560/product.xml#magnitude&amp;lt;/preferredMagnitudeID&amp;gt;&amp;lt;type&amp;gt;earthquake&amp;lt;/type&amp;gt;&amp;lt;creationInfo&amp;gt;&amp;lt;agencyID&amp;gt;ak&amp;lt;/agencyID&amp;gt;&amp;lt;creationTime&amp;gt;2017-11-12T14:15:35.560Z&amp;lt;/creationTime&amp;gt;&amp;lt;version&amp;gt;1&amp;lt;/version&amp;gt;&amp;lt;/creationInfo&amp;gt;&amp;lt;/event&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please tell me, where the failure is. I'm not very interested in alternatives to PREAMBLE_REGEX.&lt;BR /&gt;
The other parameters, for example Time-Extraction and event-isolation works fine.&lt;BR /&gt;
I want to understand the difference between the gui-generated props.conf and the  mechanism on splunk indexer&lt;/P&gt;</description>
      <pubDate>Sun, 12 Nov 2017 16:01:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360518#M65752</guid>
      <dc:creator>a101755</dc:creator>
      <dc:date>2017-11-12T16:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why PREAMBLE_REGEX doesn't work on my indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360519#M65753</link>
      <description>&lt;P&gt;Can you provide more detail on what exactly is not working? &lt;BR /&gt;
You are using &lt;CODE&gt;PREAMBLE_REGEX&lt;/CODE&gt; which is an input time setting according to the docs &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;* This feature and all of its settings apply at input time, when data is
  first read by Splunk.  The setting is used on a Splunk system that has
  configured inputs acquiring the data.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So the answer could be to move the &lt;CODE&gt;props.conf&lt;/CODE&gt; setting to the forwarder-one which reads the data.&lt;BR /&gt;
It did work in the UI because in this case the UI Splunk instance was the first one reading the file.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Sun, 12 Nov 2017 20:56:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360519#M65753</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-11-12T20:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why PREAMBLE_REGEX doesn't work on my indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360520#M65754</link>
      <description>&lt;P&gt;First of all: thx to MuS for his comment. I hope he (or she) bring me on the right way.&lt;/P&gt;

&lt;P&gt;I tried out to promote 'ONLY' the PREAMBLE_REGEX separated in a props.conf to the forwarder. &lt;BR /&gt;
In the props.conf on the indexer i commented this parameter out.&lt;BR /&gt;
But the result is disappointing. Many earthquake-events now appears in one event. So i think, it wasn't a good idea, to split the parameters from props.conf between the both indexer and the one forwarder.&lt;/P&gt;

&lt;P&gt;Tomorrow i'll try to promote the hole props.conf from the indexers to the one forwarder.&lt;/P&gt;

&lt;P&gt;My expectation to the result is, that only the earthquake-data will appear as result of a search. The 'three lines above' shouldn't appear in my opinion. The aren't earthquake-data, but metadata for it. &lt;BR /&gt;
I mean the data, beginning with  &lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 18:36:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360520#M65754</guid>
      <dc:creator>a101755</dc:creator>
      <dc:date>2017-11-13T18:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why PREAMBLE_REGEX doesn't work on my indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360521#M65755</link>
      <description>&lt;P&gt;Why not use the tab separated API endpoint &lt;CODE&gt;&lt;A href="https://earthquake.usgs.gov/fdsnws/event/1/query?format=text&amp;amp;starttime=2014-01-01&amp;amp;endtime=2014-01-02&amp;amp;minmagnitude=5" target="test_blank"&gt;https://earthquake.usgs.gov/fdsnws/event/1/query?format=text&amp;amp;starttime=2014-01-01&amp;amp;endtime=2014-01-02&amp;amp;minmagnitude=5&lt;/A&gt;&lt;/CODE&gt; and then configure the &lt;CODE&gt;props.conf&lt;/CODE&gt; on the forwarder to use:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; INDEXED_EXTRACTIONS = TSV
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Nothing else should be needed beside that, even the time stamp should be discovered by default.&lt;/P&gt;

&lt;P&gt;cheers, MuS &lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 18:59:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360521#M65755</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-11-13T18:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why PREAMBLE_REGEX doesn't work on my indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360522#M65756</link>
      <description>&lt;P&gt;Hello, because i was busy the last days, i am only now able to go further with this thread.&lt;BR /&gt;
I had tried out the whole props.conf on the forwarder-one, but it doesn't work.&lt;BR /&gt;
The first, second and third event were still indexed.&lt;BR /&gt;
1.&lt;/P&gt;

&lt;P&gt;2.&lt;/P&gt;

&lt;P&gt;3.&lt;/P&gt;

&lt;P&gt;Again i modify the props.conf and had tried it only on the forwarder and then i had tried it on the indexers. For sure i restart forwarder and indexers after every modification.&lt;BR /&gt;
But the result had been always the same.&lt;/P&gt;

&lt;P&gt;The new props.conf is now:&lt;BR /&gt;
[mg_earthquake_data]&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
NO_BINARY_CHECK=true&lt;BR /&gt;
CHARSET=UTF-8&lt;BR /&gt;
disabled=false&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%dT%H:%M:%S.%3Q&lt;BR /&gt;
TIME_PREFIX=&lt;BR /&gt;
TZ=UTC&lt;BR /&gt;
PREAMBLE_REGEX=&amp;lt;[?qe][x:v][mqe][lun][ at][vkP]&lt;/P&gt;

&lt;P&gt;Now i will try the hint from MuS with INDEXED_EXTRACTIONS = TSV and will tell the expirience. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:54:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360522#M65756</guid>
      <dc:creator>a101755</dc:creator>
      <dc:date>2020-09-29T16:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why PREAMBLE_REGEX doesn't work on my indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360523#M65757</link>
      <description>&lt;P&gt;Sorry, because of the escape-sequences the 3 events doesn't appear. &lt;BR /&gt;
    1.&lt;BR /&gt;
    &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;
    2.&lt;BR /&gt;
    &lt;QUAKEML xmlns="http://quakeml.org/xmlns/bed/1.2" ANSS="http://anss.org/xmlns/event/0.1" CATALOG="http://anss.org/xmlns/catalog/0.1" Q="http://quakeml.org/xmlns/quakeml/1.2"&gt;&lt;BR /&gt;
    3.&lt;BR /&gt;
    &lt;EVENTPARAMETERS publicid="quakeml:earthquake.usgs.gov/fdsnws/event/1/query?format=xml&amp;amp;starttime=2017-11-13T161334&amp;amp;endtime=2017-11-19T163159&amp;amp;minmagnitude=-0.9"&gt;&lt;/EVENTPARAMETERS&gt;&lt;/QUAKEML&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2017 16:02:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360523#M65757</guid>
      <dc:creator>a101755</dc:creator>
      <dc:date>2017-11-19T16:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why PREAMBLE_REGEX doesn't work on my indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360524#M65758</link>
      <description>&lt;P&gt;So, i had tried out MuS hint, but now nothing had been indexed.&lt;BR /&gt;
So, i have to think about it, but no idea.. at the moment.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2017 16:09:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360524#M65758</guid>
      <dc:creator>a101755</dc:creator>
      <dc:date>2017-11-19T16:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why PREAMBLE_REGEX doesn't work on my indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360525#M65759</link>
      <description>&lt;P&gt;I found a even easier one, use the &lt;CODE&gt;&lt;A href="https://earthquake.usgs.gov/fdsnws/event/1/query?format=csv&amp;amp;starttime=2014-01-01&amp;amp;endtime=2014-01-02&amp;amp;minmagnitude=5" target="test_blank"&gt;https://earthquake.usgs.gov/fdsnws/event/1/query?format=csv&amp;amp;starttime=2014-01-01&amp;amp;endtime=2014-01-02&amp;amp;minmagnitude=5&lt;/A&gt;&lt;/CODE&gt; csv option and Splunk uses &lt;CODE&gt;sourcetype=csv&lt;/CODE&gt; on it's own.&lt;/P&gt;

&lt;P&gt;Also remember, that data once indexed will not be re-indexed by Splunk.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2017 20:47:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360525#M65759</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-11-19T20:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why PREAMBLE_REGEX doesn't work on my indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360526#M65760</link>
      <description>&lt;P&gt;Hello MuS, thank you again for your contribution!&lt;BR /&gt;
At the moment i will study the concept of splunk's Datapipeline and so i had found a couple of hints, that parsing on Universal Forwarders is reduced to the parameter INDEXED_EXTRACTIONS. (&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Configurationparametersandthedatapipeline#"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Configurationparametersandthedatapipeline#&lt;/A&gt;). I will verify this today and post another comment about this.&lt;BR /&gt;
At the end, when nothing will work, i follow your hint to csv &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 09:32:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360526#M65760</guid>
      <dc:creator>a101755</dc:creator>
      <dc:date>2017-11-20T09:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why PREAMBLE_REGEX doesn't work on my indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360527#M65761</link>
      <description>&lt;P&gt;The answer is ...&lt;BR /&gt;
... a mistake in my REGEX. There had been missing the escape-character in front of &amp;lt;(!)&lt;BR /&gt;
So the right syntax is&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;PREAMBLE_REGEX=\&amp;lt;[?qe][x:v][mqe][lun][ at][vkP]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But there is a different behavior between REG-Interpretation over GUI-Data-Import and the entry in the props.conf!&lt;BR /&gt;
Over the GUI the \ isn't needed. &lt;/P&gt;

&lt;P&gt;Additions 1&lt;BR /&gt;
For those, who wants to know, how the right idea had came to me. &lt;BR /&gt;
After many hours intensive work and study and use of btool my eye was catched by the fact, that for example the default-Entry for TIME_PREFIX is often &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX = \[
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So i had had the idea, that there is the same mechanism in my REGEX!&lt;/P&gt;

&lt;P&gt;Addition 2&lt;BR /&gt;
I organized my work in different trials, Between these trials i clean the index mg_earthquake, to get an unique system.&lt;BR /&gt;
After i had found the solution, i had made an opposite trial, with the wrong REGEX (without the escape-character). And again i had put the right solution, but had forgotten the cleaning. Surprisingly for me the right solution didn't work!&lt;BR /&gt;
After restart the indexer (cleaning the index is not possible, when splunk is running) IT WORKS!&lt;BR /&gt;
One explanation is for me, that there is some communication between forwarder and indexer and the indexer held this information until restart.&lt;/P&gt;

&lt;P&gt;Addition 3&lt;BR /&gt;
Many thanks to MuS, who had inspired me to continue this (for me) hard work!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 16:13:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360527#M65761</guid>
      <dc:creator>a101755</dc:creator>
      <dc:date>2017-11-20T16:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why PREAMBLE_REGEX doesn't work on my indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360528#M65762</link>
      <description>&lt;P&gt;Addition 4&lt;BR /&gt;
props.conf is on the forwarder-one!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 16:15:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-PREAMBLE-REGEX-doesn-t-work-on-my-indexer/m-p/360528#M65762</guid>
      <dc:creator>a101755</dc:creator>
      <dc:date>2017-11-20T16:15:25Z</dc:date>
    </item>
  </channel>
</rss>

