<?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: INGEST_EVAL in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694871#M19875</link>
    <description>&lt;P&gt;From the EXTRACT in props.conf.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;EXTRACT-wsjtx = (?&amp;lt;year&amp;gt;\d{2})(?&amp;lt;month&amp;gt;\d{2})(?&amp;lt;day&amp;gt;\d{2})_(?&amp;lt;hour&amp;gt;\d{2})(?&amp;lt;min&amp;gt;\d{2})(?&amp;lt;sec&amp;gt;\d{2})\s+(?&amp;lt;freqMhz&amp;gt;\d+\.\d+)\s+(?&amp;lt;action&amp;gt;\w+)\s+(?&amp;lt;mode&amp;gt;\w+)\s+(?&amp;lt;rxDB&amp;gt;\d+|-\d+)\s+(?&amp;lt;timeOffset&amp;gt;-\d+\.\d+|\d+\.\d+)\s+(?&amp;lt;freqOffSet&amp;gt;\d+)\s+(?&amp;lt;remainder&amp;gt;.+)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 17:37:21 GMT</pubDate>
    <dc:creator>splunkpersona</dc:creator>
    <dc:date>2024-07-31T17:37:21Z</dc:date>
    <item>
      <title>INGEST_EVAL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694761#M19864</link>
      <description>&lt;P&gt;I am working on ingesting the WSJT-X log. I got to where I have the basic fields in Splunk and wanted to create a date and time stamp from the poorly formatted data. &amp;nbsp;I started with a very basic eval statement to test this and I am not seeing the new field. So, what did I miss?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I created the following:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;transforms.conf

[wsjtx_log]

REGEX = (\d{2})(\d{2})(\d{2})_(\d{2})(\d{2})(\d{2})\s+(\d+\.\d+)\s+(\w+)\s+(\w+)\s+(\d+|-\d+)\s+(-\d+\.\d+|\d+\.\d+)\s+(\d+)\s+(.+)

FORMAT = year::$1 month::$2 day::$3 hour::$4 min::$5 sec::$6 freqMhz::$7 action::$8 mode::$9 rxDB::$10 timeOffset::$11 freqOffSet::$12 remainder::$13

[add20]

INGEST_EVAL = fyear="20" . $year$

props.conf

[wsjtx_log]

REPORT-wsjtx_all = wsjtx_log

TRANSFORMS = add20

fields.conf

fyear]

INDEXED = TRUE&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 31 Jul 2024 17:08:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694761#M19864</guid>
      <dc:creator>splunkpersona</dc:creator>
      <dc:date>2024-07-31T17:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: INGEST_EVAL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694769#M19865</link>
      <description>&lt;P&gt;The fields extracted with REPORT are eztracted in search time so they're not available inindex time for INGEST_EVAL.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 04:46:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694769#M19865</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-07-31T04:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: INGEST_EVAL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694852#M19870</link>
      <description>&lt;P&gt;That makes sense, the docs mentioned the order of operations but sometimes that doesnt sink in. It was easy enough to transition but I am still not seeing the field. I do see the fields as parsed from the props.conf-&lt;/P&gt;
&lt;P&gt;Props:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[wsjtx_log]

#REPORT-wsjtx_all = wsjtx_log

EXTRACT-wsjtx = (?&amp;lt;year&amp;gt;\d{2})(?&amp;lt;month&amp;gt;\d{2})(?&amp;lt;day&amp;gt;\d{2})_(?&amp;lt;hour&amp;gt;\d{2})(?&amp;lt;min&amp;gt;\d{2})(?&amp;lt;sec&amp;gt;\d{2})\s+(?&amp;lt;freqMhz&amp;gt;\d+\.\d+)\s+(?&amp;lt;action&amp;gt;\w+)\s+(?&amp;lt;mode&amp;gt;\w+)\s+(?&amp;lt;rxDB&amp;gt;\d+|-\d+)\s+(?&amp;lt;timeOffset&amp;gt;-\d+\.\d+|\d+\.\d+)\s+(?&amp;lt;freqOffSet&amp;gt;\d+)\s+(?&amp;lt;remainder&amp;gt;.+)

TRANSFORMS = add20

Transform:

[wsjtx_log]

#REGEX = (\d{2})(\d{2})(\d{2})_(\d{2})(\d{2})(\d{2})\s+(\d+\.\d+)\s+(\w+)\s+(\w+)\s+(\d+|-\d+)\s+(-\d+\.\d+|\d+\.\d+)\s+(\d+)\s+(.+)

#FORMAT = year::$1 month::$2 day::$3 hour::$4 min::$5 sec::$6 freqMhz::$7 action::$8 mode::$9 rxDB::$10 timeOffset::$11 freqOffSet::$12 remainder::$13

[add20]

INGEST_EVAL = fyear="20" . $year$

Fields:

[fyear]

INDEXED = TRUE&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 31 Jul 2024 17:09:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694852#M19870</guid>
      <dc:creator>splunkpersona</dc:creator>
      <dc:date>2024-07-31T17:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: INGEST_EVAL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694853#M19871</link>
      <description>&lt;P&gt;No. It's not about the order of operations.&lt;/P&gt;&lt;P&gt;It's about search-time vs. index-time.&lt;/P&gt;&lt;P&gt;REPORT and EXTRACT are two operations that are done on the event in search time - when the event is being read from the index and processed before presenting to the user. INGEST_EVAL is an operation which is done in index-time - when the event is initially received from the source and before it's written to the index. You search-time operations are not performed in index-time (and vice-versa).&lt;/P&gt;&lt;P&gt;So regardless of whether you define your search-time operations inline or with transform (in other words - as REPORT or EXTRACT), they are not active in index-time. You can only operate on indexed fields with INGEST_EVAL. So if you want to extract a part of your event in order to use it in INGEST_EVAL, you have to first extract it with TRANSFORM as indexed field (if you don't need it stored later, you can afterwards rewrite it with another INGEST_EVAL to null()).&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 16:49:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694853#M19871</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-07-31T16:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: INGEST_EVAL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694869#M19873</link>
      <description>&lt;P&gt;I removed the $ signs from the field (I copied from the web UI). I also used this as a guide but still no go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.2.2/Data/IngestEval" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.2.2/Data/IngestEval&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 17:27:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694869#M19873</guid>
      <dc:creator>splunkpersona</dc:creator>
      <dc:date>2024-07-31T17:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: INGEST_EVAL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694870#M19874</link>
      <description>&lt;P&gt;OK. From the start.&lt;/P&gt;&lt;P&gt;Your INGEST_EVAL looks like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;INGEST_EVAL = fyear="20" . year&lt;/LI-CODE&gt;&lt;P&gt;Right?&lt;/P&gt;&lt;P&gt;Where does the "year" field come from?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 17:31:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694870#M19874</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-07-31T17:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: INGEST_EVAL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694871#M19875</link>
      <description>&lt;P&gt;From the EXTRACT in props.conf.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;EXTRACT-wsjtx = (?&amp;lt;year&amp;gt;\d{2})(?&amp;lt;month&amp;gt;\d{2})(?&amp;lt;day&amp;gt;\d{2})_(?&amp;lt;hour&amp;gt;\d{2})(?&amp;lt;min&amp;gt;\d{2})(?&amp;lt;sec&amp;gt;\d{2})\s+(?&amp;lt;freqMhz&amp;gt;\d+\.\d+)\s+(?&amp;lt;action&amp;gt;\w+)\s+(?&amp;lt;mode&amp;gt;\w+)\s+(?&amp;lt;rxDB&amp;gt;\d+|-\d+)\s+(?&amp;lt;timeOffset&amp;gt;-\d+\.\d+|\d+\.\d+)\s+(?&amp;lt;freqOffSet&amp;gt;\d+)\s+(?&amp;lt;remainder&amp;gt;.+)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 17:37:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694871#M19875</guid>
      <dc:creator>splunkpersona</dc:creator>
      <dc:date>2024-07-31T17:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: INGEST_EVAL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694874#M19876</link>
      <description>&lt;P&gt;As I wrote before - EXTRACT and REPORT are run in search-time. TRANSFORM (including INGEST_EVAL) is run in index-time. You don't have search-time stuff in index-time. So you don't have your "year" field when you're trying to run INGEST_EVAL.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 17:42:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694874#M19876</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-07-31T17:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: INGEST_EVAL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694919#M19884</link>
      <description>&lt;P&gt;Ok, between your commentary and my re-write of the documentation I got this working. I will post my re write of the splunk instructions and the confs ASAP. Wish I could attach docs..&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 22:32:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/INGEST-EVAL/m-p/694919#M19884</guid>
      <dc:creator>splunkpersona</dc:creator>
      <dc:date>2024-07-31T22:32:47Z</dc:date>
    </item>
  </channel>
</rss>

