<?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: Extract Fields from web_input app. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-Extract-Fields-from-web-input-app/m-p/653444#M225809</link>
    <description>&lt;P&gt;Thank you, works perfect, I was struggling and couldn't wrap my head around the different strings, I have not used mvexpand before, looks like it breaks a single log into multiples?&lt;/P&gt;</description>
    <pubDate>Mon, 07 Aug 2023 16:22:44 GMT</pubDate>
    <dc:creator>MGlass</dc:creator>
    <dc:date>2023-08-07T16:22:44Z</dc:date>
    <item>
      <title>How to Extract Fields from web_input app?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Extract-Fields-from-web-input-app/m-p/653415#M225805</link>
      <description>&lt;P&gt;How would you extract fields from this Data, I would like to extract the panel ID, watts, grid Hz, grid voltage and temp from the data, the grid data is on every set of 4 lines, there are 24 panels.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Watts&amp;nbsp; Volts&amp;nbsp; Freq&amp;nbsp; &amp;nbsp; Gvolts&amp;nbsp; Temp&lt;/P&gt;
&lt;P&gt;match="805000048512-1 98 W 33 V 60.0 Hz 251 V 35 °C&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;08/07/2023 12:58:53 UTC, _time="1691438333.0", title="ZEDTwo30", encoding="utf-8", browser="integrated_client", response_size="14555", response_code="200", url="&lt;A href="http://192.168.2.178/index.php/realtimedata" target="_blank" rel="noopener"&gt;http://192.168.2.178/index.php/realtimedata&lt;/A&gt;", request_time="734.2638969421387", content_md5="40acffc51f6d6213b2b1e1b379bc14f2", content_sha224="aae23ec01baaf5502794091e3cc7e00d1cb6ba265ef675a999e27dc0", raw_match_count="25", match="Inverter ID Current Power DC Voltage Grid Frequency Grid Voltage Temperature Reporting Time", match="805000048512-1 1 W 36 V 60.0 Hz 253 V 14 °C 2023-08-07 06:57:04", match="805000048512-2 0 W 36 V 253 V", match="805000048512-3 0 W 36 V 253 V", match="805000048512-4 1 W 36 V 253 V", match="805000050217-1 0 W 36 V 60.0 Hz 252 V 14 °C 2023-08-07 06:57:04", match="805000050217-2 1 W 36 V 252 V", match="805000050217-3 0 W 36 V 252 V", match="805000050217-4 1 W 36 V 252 V", match="805000048270-1 1 W 36 V 60.1 Hz 253 V 15 °C 2023-08-07 06:57:04", match="805000048270-2 1 W 36 V 253 V", match="805000048270-3 1 W 36 V 253 V", match="805000048270-4 1 W 36 V 253 V", match="805000051865-1 0 W 36 V 60.0 Hz 252 V 14 °C 2023-08-07 06:57:04", match="805000051865-2 0 W 36 V 252 V", match="805000051865-3 0 W 36 V 252 V", match="805000051865-4 0 W 36 V 252 V", match="805000050663-1 0 W 36 V 60.0 Hz 252 V 13 °C 2023-08-07 06:57:04", match="805000050663-2 0 W 36 V 252 V", match="805000050663-3 0 W 36 V 252 V", match="805000050663-4 0 W 36 V 252 V", match="805000048357-1 0 W 36 V 59.9 Hz 251 V 14 °C 2023-08-07 06:57:04", match="805000048357-2 0 W 36 V 251 V", match="805000048357-3 0 W 36 V 251 V", match="805000048357-4 0 W 36 V 251 V"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 19:27:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Extract-Fields-from-web-input-app/m-p/653415#M225805</guid>
      <dc:creator>MGlass</dc:creator>
      <dc:date>2023-08-07T19:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Fields from web_input app.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Extract-Fields-from-web-input-app/m-p/653418#M225807</link>
      <description>&lt;P&gt;You need to expand the events by match=".... then you can extract the fields you want. This is because some match strings do not have all the values represented.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex max_match=0 "(?&amp;lt;match&amp;gt;match=\"[^\"]+)"
| mvexpand match
| rex field=match "match=\"(?&amp;lt;id&amp;gt;[\d-]+)\s(?&amp;lt;watts&amp;gt;\d+\sW)\s(?&amp;lt;volts&amp;gt;\d+\sV)\s((?&amp;lt;freq&amp;gt;[\d\.]+\sHz)\s)?(?&amp;lt;gvolts&amp;gt;\d+\sV)(\s(?&amp;lt;temp&amp;gt;\d+\s.C))?"&lt;/LI-CODE&gt;&lt;P&gt;You may want to ignore events where match just contains the field headers&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 14:21:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Extract-Fields-from-web-input-app/m-p/653418#M225807</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-08-07T14:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Fields from web_input app.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Extract-Fields-from-web-input-app/m-p/653444#M225809</link>
      <description>&lt;P&gt;Thank you, works perfect, I was struggling and couldn't wrap my head around the different strings, I have not used mvexpand before, looks like it breaks a single log into multiples?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 16:22:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Extract-Fields-from-web-input-app/m-p/653444#M225809</guid>
      <dc:creator>MGlass</dc:creator>
      <dc:date>2023-08-07T16:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Fields from web_input app.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Extract-Fields-from-web-input-app/m-p/653473#M225817</link>
      <description>&lt;P&gt;More specifically, it duplicates events except for the expanded multi-value field which is split out across the copies of the event.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 21:48:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Extract-Fields-from-web-input-app/m-p/653473#M225817</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-08-07T21:48:53Z</dc:date>
    </item>
  </channel>
</rss>

