<?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: index time extraction  not working in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/index-time-extraction-not-working/m-p/558361#M6310</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think this should work with the transform that change sourcetype uncommented.&lt;/P&gt;&lt;P&gt;Then move the REPORTS stanza is in a sourcetype scope not a source&lt;/P&gt;&lt;P&gt;so&lt;/P&gt;&lt;P&gt;[pan:trafic]&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;REPORT-trafic_fields = pan_trafic_fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;(make sure this config is also present on sh so deploy the whole sh + idx)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that makes at least things much easier to debug with such things scoped at sourcetype level&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jul 2021 07:22:50 GMT</pubDate>
    <dc:creator>maraman_splunk</dc:creator>
    <dc:date>2021-07-06T07:22:50Z</dc:date>
    <item>
      <title>index time extraction  not working</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/index-time-extraction-not-working/m-p/558329#M6307</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a HEC input on an indexer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to send Palo Alto Traffic Logs over HEC&lt;BR /&gt;&lt;BR /&gt;I have the this stanza in the props.conf&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;[source::hec]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;pulldown_type = true&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;SHOULD_LINEMERGE = false&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;TIME_PREFIX = ^(?:[^,]*,){5}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;MAX_TIMESTAMP_LOOKAHEAD = 100&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;#TRANSFORMS-sourcetype =&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;pan_traffic&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;REPORT-trafic_fields = pan_trafic_fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this in transforms.conf&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;[pan_trafic_fields]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;DELIMS = ","&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;FIELDS = "receive_time","serial_number","log_type","log_subtype","src_ip","dest_ip","rule","app","vsys","src_zone","dest_zone","src_interface","dest_interface","log_forwarding_profile","session_id","repeat_count","src_port","dest_port","transport","action","bytes","bytes_out","bytes_in","packets","start_time","duration","http_category","sequence_number","src_location","dest_location","packets_out","packets_in","session_end_reason","dvc_name","action_source","tunnel_id"&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I am trying to test it with curl&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;curl -k "&lt;A href="https://172.31.72.93:8088/services/collector/raw?cca3-f29f63e09fdc&amp;amp;sourcetype=pan:log" target="_blank" rel="noopener"&gt;https://172.31.72.93:8088/services/collector/raw?cca3-f29f63e09fdc&amp;amp;sourcetype=pan:log&lt;/A&gt;" -H "Authorization: Splunk 92a1a276-eee8-XXXX-XXXX-11d002640ad0" -d '"2021/07/05 12:30:06",44A1B3FC68F5304,TRAFFIC,end,103.125.191.136,10.0.0.10,splunk,incomplete,vsys1,untrusted,trusted,ethernet1/3,ethernet1/2,log-forwarding-default,574277,1,52564,8088,tcp,allow,74,74,0,1,"2021/07/05 12:30:06",0,any,730218,"United States",10.0.0.0-10.255.255.255,1,0,aged-out,PA-VM,from-policy,0'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;the Sourcetype is being recognised by Splunk as pan:traffic as expected but the parsing is not working on the indexers and no fields are showing in my search&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;am i missing something here&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 16:15:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/index-time-extraction-not-working/m-p/558329#M6307</guid>
      <dc:creator>aamer86</dc:creator>
      <dc:date>2021-07-05T16:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: index time extraction  not working</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/index-time-extraction-not-working/m-p/558361#M6310</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think this should work with the transform that change sourcetype uncommented.&lt;/P&gt;&lt;P&gt;Then move the REPORTS stanza is in a sourcetype scope not a source&lt;/P&gt;&lt;P&gt;so&lt;/P&gt;&lt;P&gt;[pan:trafic]&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;REPORT-trafic_fields = pan_trafic_fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;(make sure this config is also present on sh so deploy the whole sh + idx)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that makes at least things much easier to debug with such things scoped at sourcetype level&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 07:22:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/index-time-extraction-not-working/m-p/558361#M6310</guid>
      <dc:creator>maraman_splunk</dc:creator>
      <dc:date>2021-07-06T07:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: index time extraction  not working</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/index-time-extraction-not-working/m-p/558362#M6311</link>
      <description>&lt;P&gt;btw reports is a search time extraction&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 07:23:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/index-time-extraction-not-working/m-p/558362#M6311</guid>
      <dc:creator>maraman_splunk</dc:creator>
      <dc:date>2021-07-06T07:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: index time extraction  not working</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/index-time-extraction-not-working/m-p/558372#M6312</link>
      <description>&lt;P&gt;Why don't you use app\addon for PaloAlto? It extracts fields without problems. Also according to your props.conf - sourcetype recognition is commented, so looks like it happens somewhere else.&lt;BR /&gt;&lt;SPAN class="s1"&gt;#TRANSFORMS-sourcetype =&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;pan_traffic&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;You can also try to download application and check config files there (easiest way) - so you will have some clue on how to modify your configs or copy them to your system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank, Gene&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 09:13:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/index-time-extraction-not-working/m-p/558372#M6312</guid>
      <dc:creator>Gene</dc:creator>
      <dc:date>2021-07-06T09:13:44Z</dc:date>
    </item>
  </channel>
</rss>

