<?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 search doesn't extract fields on the forwarded data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-search-doesn-t-extract-fields-on-the-forwarded-data/m-p/359382#M65564</link>
    <description>&lt;P&gt;I apoligize if this seems like a stupid question :), but do you have a single splunk instance (indexer and search head are the same)? If distributed, you will need the props/etc on all instance (search heads and indexers).&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2017 17:50:06 GMT</pubDate>
    <dc:creator>sshelly_splunk</dc:creator>
    <dc:date>2017-11-10T17:50:06Z</dc:date>
    <item>
      <title>Splunk search doesn't extract fields on the forwarded data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-search-doesn-t-extract-fields-on-the-forwarded-data/m-p/359381#M65563</link>
      <description>&lt;P&gt;Our forwarder sends the data to the Splunk Server &amp;amp; our config in the Splunk Server &amp;amp; forwarder looks like below. For some reason, when I do the search  in the SPLUNK, it's not extracting the fields. Can anyone help us out??&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;**In Splunk Server:**
*transforms.conf*

[portal_eventlog_host]
REGEX = &amp;lt;computer&amp;gt;?(.*)&amp;lt;/computer&amp;gt;
FORMAT = host::$1
DEST_KEY = MetaData:Host

*props.conf*

[iis_custom]
category = Web
description = W3C Extended log format produced by the Microsoft Internet Information Services (IIS) web server
SHOULD_LINEMERGE = False
pulldown_type = true
MAX_TIMESTAMP_LOOKAHEAD = 32
INDEXED_EXTRACTIONS = w3c
detect_trailing_nulls = auto
FIELD_DELIMITER = whitespace
FIELD_HEADER_REGEX = ^#Fields:\s*(.*)
MISSING_VALUE_REGEX = -
TIME_FORMAT = %Y-%m-%d %H:%M:%S
TZ = GMT
TIMESTAMP_FIELDS = date,time

[portal_eventlog]
category = Application
description = Portal event logs
disabled = false
pulldown_type = true
SHOULD_LINEMERGE = false
NO_BINARY_CHECK = true
LINE_BREAKER = (&amp;lt;log&amp;gt;|&amp;lt;/log&amp;gt;)
TIME_PREFIX = datetime
SEDCMD-format-text = s/&amp;lt;(\/{1}\w+)&amp;gt;/&amp;lt;\1&amp;gt;\n/g
TRANSFORMS-hostname = portal_eventlog_host
KV_MODE = xml

**In Forwarder:**
*inputs.conf*

[monitor://C:\TestLogs\IIS]
disabled = false
index = dotnet
sourcetype = iis_custom

[monitor://C:\TestLogs\PortalEventLog]
disabled = false
index = dotnet
sourcetype = portal_eventlog
crcSalt = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Nov 2017 17:05:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-search-doesn-t-extract-fields-on-the-forwarded-data/m-p/359381#M65563</guid>
      <dc:creator>kpragasam</dc:creator>
      <dc:date>2017-11-10T17:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search doesn't extract fields on the forwarded data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-search-doesn-t-extract-fields-on-the-forwarded-data/m-p/359382#M65564</link>
      <description>&lt;P&gt;I apoligize if this seems like a stupid question :), but do you have a single splunk instance (indexer and search head are the same)? If distributed, you will need the props/etc on all instance (search heads and indexers).&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 17:50:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-search-doesn-t-extract-fields-on-the-forwarded-data/m-p/359382#M65564</guid>
      <dc:creator>sshelly_splunk</dc:creator>
      <dc:date>2017-11-10T17:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search doesn't extract fields on the forwarded data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-search-doesn-t-extract-fields-on-the-forwarded-data/m-p/359383#M65565</link>
      <description>&lt;P&gt;It's distributed. We do have the props &amp;amp; transform configs in both indexer &amp;amp; SearchHead. But, that doesn't seems to help&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 19:38:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-search-doesn-t-extract-fields-on-the-forwarded-data/m-p/359383#M65565</guid>
      <dc:creator>kpragasam</dc:creator>
      <dc:date>2017-11-10T19:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search doesn't extract fields on the forwarded data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-search-doesn-t-extract-fields-on-the-forwarded-data/m-p/359384#M65566</link>
      <description>&lt;P&gt;What fields are not extracting? By default, it will extract all fields with some type of delimiter between values at search-time. How many fields do you currently have extracted? Do the fields you want have some type of delimiter between the key value pair in the event? If not, you will have to write some regex to get the field. &lt;/P&gt;

&lt;P&gt;Remember that fields are relative to sourcetype&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 21:20:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-search-doesn-t-extract-fields-on-the-forwarded-data/m-p/359384#M65566</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-11-10T21:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search doesn't extract fields on the forwarded data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-search-doesn-t-extract-fields-on-the-forwarded-data/m-p/359385#M65567</link>
      <description>&lt;P&gt;For "Portal_eventlog" sourcetype, I am seeing only the standards fields such as host, index, source, sourcetype, linecount, splunk_server. The log file is an XML. So, I am expecting each tag as a fields.&lt;/P&gt;

&lt;P&gt;Note: Some people mentioned that we have to have props &amp;amp; transform.config in the forwarder too. I have tried that too &amp;amp; didn't work.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:42:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-search-doesn-t-extract-fields-on-the-forwarded-data/m-p/359385#M65567</guid>
      <dc:creator>kpragasam</dc:creator>
      <dc:date>2020-09-29T16:42:13Z</dc:date>
    </item>
  </channel>
</rss>

