<?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 extract specific value ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-extract-specific-value/m-p/707988#M239427</link>
    <description>&lt;P&gt;It is best not to use rex to extract information from structured data. &amp;nbsp;As&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;says, the OP should post complete sample logs instead of a fragment of JSON. &amp;nbsp;If the raw event is itself compliant JSON, there should be no need to extract using search commands because Splunk automatically does this at search time.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jan 2025 22:39:55 GMT</pubDate>
    <dc:creator>yuanliu</dc:creator>
    <dc:date>2025-01-03T22:39:55Z</dc:date>
    <item>
      <title>How extract specific value ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-extract-specific-value/m-p/707859#M239392</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have big and complete log and want to extract specific value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Small part of log:&lt;EM&gt; "&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;state&lt;/SPAN&gt;&lt;/SPAN&gt;"&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;{&lt;/SPAN&gt;"&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;running&lt;/SPAN&gt;&lt;/SPAN&gt;"&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;{&lt;/SPAN&gt;"&lt;SPAN class=""&gt;startedAt&lt;/SPAN&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;2024-12-19T13:58:14Z&lt;/SPAN&gt;"}}}],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I would like to extract running in this case, value can be other .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 09:41:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-extract-specific-value/m-p/707859#M239392</guid>
      <dc:creator>Jean-Sébastien</dc:creator>
      <dc:date>2025-01-02T09:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: How extract specific value ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-extract-specific-value/m-p/707862#M239393</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247349"&gt;@Jean-Sébastien&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use regex. This will create a new field called output that contains the values running, drinking, and walking. Let me know if you need more assistance!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kiran_panchavat_0-1735811981423.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33973i5CB765D420835C96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kiran_panchavat_0-1735811981423.png" alt="kiran_panchavat_0-1735811981423.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 09:59:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-extract-specific-value/m-p/707862#M239393</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2025-01-02T09:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: How extract specific value ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-extract-specific-value/m-p/707863#M239394</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247349"&gt;@Jean-Sébastien&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You can use rex command.&amp;nbsp;The rex command matches the value of the specified field against the unanchored regular expression and extracts the named groups into fields of the corresponding names.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.4.0/SearchReference/Rex" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.4.0/SearchReference/Rex&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 10:01:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-extract-specific-value/m-p/707863#M239394</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2025-01-02T10:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: How extract specific value ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-extract-specific-value/m-p/707875#M239400</link>
      <description>&lt;P&gt;This looks like it might be JSON. Have you looked at the json functions?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 11:36:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-extract-specific-value/m-p/707875#M239400</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-01-02T11:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: How extract specific value ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-extract-specific-value/m-p/707988#M239427</link>
      <description>&lt;P&gt;It is best not to use rex to extract information from structured data. &amp;nbsp;As&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;says, the OP should post complete sample logs instead of a fragment of JSON. &amp;nbsp;If the raw event is itself compliant JSON, there should be no need to extract using search commands because Splunk automatically does this at search time.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 22:39:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-extract-specific-value/m-p/707988#M239427</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2025-01-03T22:39:55Z</dc:date>
    </item>
  </channel>
</rss>

