<?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 is the field extraction transformation not working in conjunction with data filtering transformation? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447752#M77850</link>
    <description>&lt;P&gt;Can you share what you have so far?&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2019 10:59:13 GMT</pubDate>
    <dc:creator>nickhills</dc:creator>
    <dc:date>2019-03-19T10:59:13Z</dc:date>
    <item>
      <title>Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447751#M77849</link>
      <description>&lt;P&gt;I'm trying to minimize the amount of data from Kubernetes JSON events that are being indexed into my Splunk instance. Rather than having the whole JSON which includes headers and mostly unimportant metadata, I want to only display the raw text payload in my Splunk event viewer. However, this filters out the metadata that I actually find useful so I created a field extraction transformation in an attempt to add the metadata I need to my events before doing my filtering logic. &lt;/P&gt;

&lt;P&gt;I've tried the above, but it doesn't work when they are in combination.&lt;/P&gt;

&lt;P&gt;Is it possible to add, for example key1=value1 in _meta and have this field extracted for all events even if the events would not have it in _raw?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Mar 2019 21:49:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447751#M77849</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2019-03-16T21:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447752#M77850</link>
      <description>&lt;P&gt;Can you share what you have so far?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 10:59:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447752#M77850</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-19T10:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447753#M77851</link>
      <description>&lt;P&gt;Attention @mmodestino_splunk !!!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 13:39:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447753#M77851</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-03-19T13:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447754#M77852</link>
      <description>&lt;P&gt;[my_sourcetype]&lt;BR /&gt;
TIME_PREFIX = "publish_time":&lt;BR /&gt;
TIME_FORMAT = %s.%Q&lt;BR /&gt;
TRANSFORMS-assign_sourcetype_access=access_log_to_st&lt;BR /&gt;
TRANSFORMS-assign_sourcetype_application=application_log_to_st&lt;BR /&gt;
TRANSFORMS-assign_index = change_index_by_application&lt;/P&gt;

&lt;H1&gt;TRANSFORMS-system_labels_transform = system_labels_transform&lt;/H1&gt;

&lt;P&gt;TRANSFORMS-change_format = change_format&lt;/P&gt;

&lt;P&gt;Here is my props.conf.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:46:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447754#M77852</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2020-09-29T23:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447755#M77853</link>
      <description>&lt;P&gt;And what does your transforms.conf look like? Perhaps also some sample data?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 16:08:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447755#M77853</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2019-03-19T16:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447756#M77854</link>
      <description>&lt;P&gt;Sure you can, especially if it is a static value.  See here:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/Configureindex-timefieldextraction"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/Configureindex-timefieldextraction&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;So like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[my_sourcetype]
FORMAT = key1::value1
WRITE_META = true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Mar 2019 23:31:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447756#M77854</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-03-19T23:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447757#M77855</link>
      <description>&lt;P&gt;The value in this case would not be static. &lt;/P&gt;

&lt;P&gt;The problem here is that I only want the message of the log event to show in my event preview on my search head, not the whole JSON structure which means I then have to click [+] each time I want to see my log message.&lt;/P&gt;

&lt;P&gt;Is there anyway that I can “bind” the metadata to their events without having the data in raw?&lt;/P&gt;

&lt;P&gt;Hope that make sense, but my gut feeling that’s me there’s no way to do this.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 01:15:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447757#M77855</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2019-03-20T01:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447758#M77856</link>
      <description>&lt;P&gt;If it is really just about how it shows in the event view in Splunk Web, then you could just add an &lt;CODE&gt;| eval _raw = message&lt;/CODE&gt; to your search query (assuming you have that message extracted as a field called message). And if that is to your liking, then you could also implement that as a calculated field in your props.conf.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 09:01:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447758#M77856</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2019-03-20T09:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447759#M77857</link>
      <description>&lt;P&gt;HI @alanzchan!&lt;/P&gt;

&lt;P&gt;How are you getting the data into Splunk? Are we talking Docker JSON driver logging here?&lt;/P&gt;

&lt;P&gt;Our Splunk Connect for Kubernetes solution solves the problem of docker json driver cruft, and allows you to reshape and enrich the data inflight. &lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/splunk/splunk-connect-for-kubernetes"&gt;https://github.com/splunk/splunk-connect-for-kubernetes&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 14:10:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447759#M77857</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2019-03-20T14:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447760#M77858</link>
      <description>&lt;P&gt;wait, you would like to replace all of your event ( &lt;CODE&gt;_raw&lt;/CODE&gt; ) with just the part that is in &lt;CODE&gt;message&lt;/CODE&gt; and throw the rest away forever?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 14:16:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447760#M77858</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-03-20T14:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447761#M77859</link>
      <description>&lt;P&gt;Why not just click on the &lt;CODE&gt;All Fields&lt;/CODE&gt;, search for your field, click the checkbox, and then see that it is BOTH a &lt;CODE&gt;Selected field&lt;/CODE&gt; shown in aggregate on the left side of your events and ALSO an in-line callout field at the bottom of each event.  I think that this meets your desire without having to change anything.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 05:14:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447761#M77859</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-03-25T05:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447762#M77860</link>
      <description>&lt;P&gt;Let’s put it this way, is it possible to just display a portion of _raw and leave the rest out.  I don’t want to discard the other information, but I don’t want it clogging up my single event where I have to click [+] three times just to see the text payload. I prefer not to do this during search time. Can I edit a Splunk event viewer configuration or something?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 00:00:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447762#M77860</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2019-03-27T00:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447763#M77861</link>
      <description>&lt;P&gt;I’m using the Google Cloud Platform add-on for Splunk. Kubernetes logs are sent in a JSON format and my goal is to display only the text payload of an event without the other metadata and attributes (not that they’re not important, but for convenience sake). However, If I filter out for just the text payload, I would lost out on all of the metadata which I would like to avoid. Can I modify some Splunk configuration? Any advice?&lt;/P&gt;

&lt;P&gt;For another description of my problem, my question is identical to this one: &lt;A href="https://answers.splunk.com/answers/659626/modify-raw-but-keep-extracted-fields.html"&gt;https://answers.splunk.com/answers/659626/modify-raw-but-keep-extracted-fields.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 00:14:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447763#M77861</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2019-03-27T00:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447764#M77862</link>
      <description>&lt;P&gt;Please check out this question from another Splunk user for a better description of my problem: &lt;A href="https://answers.splunk.com/answers/659626/modify-raw-but-keep-extracted-fields.html"&gt;https://answers.splunk.com/answers/659626/modify-raw-but-keep-extracted-fields.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 00:16:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447764#M77862</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2019-03-27T00:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447765#M77863</link>
      <description>&lt;P&gt;I would prefer not to do it during search time if possible, but this would achieve a somewhat desirable result. &lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 00:31:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447765#M77863</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2019-03-27T00:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447766#M77864</link>
      <description>&lt;P&gt;See my new answer at the bottom.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 06:08:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447766#M77864</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-03-27T06:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447767#M77865</link>
      <description>&lt;P&gt;You prefer not to do it during search time, as in: you don't like doing it manually as part of the query? Or would even moving it to a search time field calculation in props.conf (such that it happens automatically) not be preferred?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 08:33:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447767#M77865</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2019-03-27T08:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447768#M77866</link>
      <description>&lt;P&gt;Can you not deploy our collector to your k8s cluster instead??&lt;/P&gt;

&lt;P&gt;It solves for all this pain already, ensuring only the log payload shows up in your events, but the key metadata fields are preserved as index time fields. &lt;/P&gt;

&lt;P&gt;It is also going to be much more reliable and scalable than having to pull with a TA, and likely will optimize your storage/index volumes. &lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 20:00:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447768#M77866</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2019-04-02T20:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447769#M77867</link>
      <description>&lt;P&gt;Thanks for you reply. I will work on this solution and provide an update shortly.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 15:41:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447769#M77867</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2019-04-04T15:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the field extraction transformation not working in conjunction with data filtering transformation?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447770#M77868</link>
      <description>&lt;P&gt;Hi @mmodestino_splunk,&lt;/P&gt;

&lt;P&gt;Sorry for the super late reply. I'm testing Splunk Connect for Kubernetes right now, sending Kubernetes cluster container data to Splunk via HEC. The logs are still coming in as JSON format. Is there any way to process this data so it indexes as raw text?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Alan&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 01:08:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-field-extraction-transformation-not-working-in/m-p/447770#M77868</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2019-06-26T01:08:21Z</dc:date>
    </item>
  </channel>
</rss>

