<?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: How to extract the field from the raw data in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-field-from-the-raw-data/m-p/547851#M37694</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225066"&gt;@aditsss&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "\/[^\/]+\/((nifi-api\/flow)|(nifi-api))\/(?&amp;lt;your_field&amp;gt;[^\/]+)"&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/Fa01uS/2" target="_blank"&gt;https://regex101.com/r/Fa01uS/2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 14 Apr 2021 07:34:50 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2021-04-14T07:34:50Z</dc:date>
    <item>
      <title>How to extract the field from the raw data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-field-from-the-raw-data/m-p/547846#M37690</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;Can someone guide me . How I can extract the below highlighted field from the logs:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2021-04-13 23:54:59,614 INFO [NiFi Web Server-54351] o.a.n.w.s. Attempting request for (&amp;lt;kdave7&amp;gt;&amp;lt;l.com&amp;gt;&amp;lt;CN=.com, OU=Middleware Utilities,L=Phoenix, ST=Arizona, C=US&amp;gt;) PUT &lt;A href="https://lpdosputb50088.phx.bvc.com:9091/nifi-api/" target="_blank"&gt;https://lpdosputb50088.phx.bvc.com:9091/nifi-api/&lt;/A&gt;&lt;STRONG&gt;process-groups&lt;/STRONG&gt;/9c673790-e123-1a1b-9c0d-d1adf4af91cb/variable-registry&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2021-04-13 23:54:59,617 INFO [NiFi Web Server-201257] o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (&amp;lt;kdave7&amp;gt;&amp;gt;&amp;lt;CN=lpdosputb50090.phx.aexp.com, OU=Middleware Utilities, L=Phoenix, ST=Arizona, C=US&amp;gt;) PUT &lt;A href="https://lpdosputb50089.phx.abc.com:9091/nifi-api/" target="_blank"&gt;https://lpdosputb50089.phx.abc.com:9091/nifi-api/&lt;/A&gt;&lt;STRONG&gt;process-groups&lt;/STRONG&gt;/9c673790-e123-1a1b-9c0d-d1adf4af91cb/variable-registry&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2021-04-13 23:54:41,185 INFO [NiFi Web Server-54256] o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (&amp;lt;JWT token&amp;gt;) GET &lt;A href="https://ecpnifiblaze-dev.poi.com/nifi-api/" target="_blank"&gt;https://ecpnifiblaze-dev.poi.com/nifi-api/&lt;/A&gt;&lt;STRONG&gt;processors&lt;/STRONG&gt;/cbd8ff04-0178-1000-0000-000035805b48&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 07:04:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-field-from-the-raw-data/m-p/547846#M37690</guid>
      <dc:creator>aditsss</dc:creator>
      <dc:date>2021-04-14T07:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the field from the raw data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-field-from-the-raw-data/m-p/547847#M37691</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225066"&gt;@aditsss&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you need to extract the string between&amp;nbsp;"nifi-api/" and the first "/", you could use a regex like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "nifi-api\/(?&amp;lt;your_field&amp;gt;[^\/]+)"&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/Fa01uS/1" target="_blank"&gt;https://regex101.com/r/Fa01uS/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 07:15:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-field-from-the-raw-data/m-p/547847#M37691</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-04-14T07:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the field from the raw data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-field-from-the-raw-data/m-p/547849#M37693</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;some logs contains like this as well.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2021-04-13 23:54:25,867 INFO [NiFi Web Server-56517] o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (&amp;lt;adasg17&amp;gt;&amp;lt;CN=com, OU=Middleware Utilities, L=Phoenix, ST=Arizona, C=US&amp;gt;) GET &lt;A href="https://lpdosputb50090.phx.p.com:9091/nifi-api/flow/" target="_blank" rel="noopener"&gt;https://lpdosputb50090.phx.p.com:9091/nifi-api/flow/&lt;/A&gt;&lt;STRONG&gt;process-groups&lt;/STRONG&gt;/f9d9372e-b5ee-1c7b-b319-2601b4c87428&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want only one column for both.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I extract&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 07:23:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-field-from-the-raw-data/m-p/547849#M37693</guid>
      <dc:creator>aditsss</dc:creator>
      <dc:date>2021-04-14T07:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the field from the raw data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-field-from-the-raw-data/m-p/547851#M37694</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225066"&gt;@aditsss&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "\/[^\/]+\/((nifi-api\/flow)|(nifi-api))\/(?&amp;lt;your_field&amp;gt;[^\/]+)"&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/Fa01uS/2" target="_blank"&gt;https://regex101.com/r/Fa01uS/2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 07:34:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-field-from-the-raw-data/m-p/547851#M37694</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-04-14T07:34:50Z</dc:date>
    </item>
  </channel>
</rss>

