<?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 multiple values from fields in same event in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/extract-multiple-values-from-fields-in-same-event/m-p/549408#M155886</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp; Yes index time&lt;/P&gt;</description>
    <pubDate>Tue, 27 Apr 2021 05:52:28 GMT</pubDate>
    <dc:creator>kannu</dc:creator>
    <dc:date>2021-04-27T05:52:28Z</dc:date>
    <item>
      <title>extract multiple values from fields in same event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/extract-multiple-values-from-fields-in-same-event/m-p/549347#M155869</link>
      <description>&lt;P&gt;Hello team ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having one event in which single field have multiple value like provided below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"body":{"records": [{ "category": "AzureFirewallNetworkRule", "time": "2021-04-26T13:13:37.0631470Z", "resourceId": "/SUBSCRIPTIONS/**********-*****-****-**/RESOURCEGROUPS/C-ABS-IT-SS-PROD-UKS-RG/PROVIDERS/MICROSOFT.NETWORK/AZUREFIREWALLS/C-ABS-IT-SS-PROD-UKS-FIREWALL", "operationName": "AzureFirewallNetworkRuleLog", "properties": {&lt;FONT color="#993366"&gt;"msg":"TCP request from 10.119.252.16:64967 to 54.83.8.19:54443&lt;/FONT&gt;. Action: Deny"}},{ "category": "AzureFirewallNetworkRule", "time": "2021-04-26T13:13:37.4217670Z", "resourceId": "/SUBSCRIPTIONS/**********-*****-****-**/RESOURCEGROUPS/C-ABS-IT-SS-PROD-UKS-RG/PROVIDERS/MICROSOFT.NETWORK/AZUREFIREWALLS/C-ABS-IT-SS-PROD-UKS-FIREWALL", "operationName": "AzureFirewallNetworkRuleLog", "properties": {&lt;FONT color="#993366"&gt;"msg":"TCP request from 10.119.34.12:62142 to 131.100.0.201:5938&lt;/FONT&gt;. Action: Deny"}},{ "category": "AzureFirewallNetworkRule", "time": "2021-04-26T13:13:37.9262290Z", "resourceId": "/SUBSCRIPTIONS/**********-*****-****-**/RESOURCEGROUPS/C-ABS-IT-SS-PROD-UKS-RG/PROVIDERS/MICROSOFT.NETWORK/AZUREFIREWALLS/C-ABS-IT-SS-PROD-UKS-FIREWALL", "operationName": "AzureFirewallNetworkRuleLog", "properties": {&lt;FONT color="#993366"&gt;"msg":"TCP request from 10.119.252.196:13973 to 40.79.154.87:443&lt;/FONT&gt;. Action: Allow"}}&lt;/P&gt;&lt;P&gt;Above is one single event&lt;/P&gt;&lt;P&gt;from which i want to extract src ip and dest ip&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example&amp;nbsp;&lt;FONT color="#993366"&gt;10.119.252.16 &lt;FONT color="#000000"&gt;is src ip and&amp;nbsp;&lt;FONT color="#800080"&gt;54.83.8.19&lt;/FONT&gt; is dest ip&lt;/FONT&gt;&amp;nbsp;, I&lt;FONT color="#000000"&gt; want to extract all from backend i dont wana use&amp;nbsp; rex max_match=0 .&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Please let me know how can i extract all from backend .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Kannu&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 14:47:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/extract-multiple-values-from-fields-in-same-event/m-p/549347#M155869</guid>
      <dc:creator>kannu</dc:creator>
      <dc:date>2021-04-26T14:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: extract multiple values from fields in same event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/extract-multiple-values-from-fields-in-same-event/m-p/549354#M155871</link>
      <description>&lt;P&gt;When you say you want to "extract all from backend", do you mean you want to know how to extracted them at indexing time rather than search time?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 16:07:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/extract-multiple-values-from-fields-in-same-event/m-p/549354#M155871</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-04-26T16:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: extract multiple values from fields in same event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/extract-multiple-values-from-fields-in-same-event/m-p/549408#M155886</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp; Yes index time&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 05:52:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/extract-multiple-values-from-fields-in-same-event/m-p/549408#M155886</guid>
      <dc:creator>kannu</dc:creator>
      <dc:date>2021-04-27T05:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: extract multiple values from fields in same event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/extract-multiple-values-from-fields-in-same-event/m-p/549751#M156009</link>
      <description>&lt;P&gt;Well , I have figured out the answer of my problem ,&lt;/P&gt;&lt;P&gt;Which is&amp;nbsp; first I have extracted the inner json , from main json event , then i have used props.conf to index them using seprate event in that way splunk is taking all field with separate events&amp;nbsp; &amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;[azure]&lt;BR /&gt;LINE_BREAKER=((?&amp;lt;=\}),(?=\{)|[\r\n]+)&lt;BR /&gt;TRUNCATE = 0&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;SEDCMD-remove_prefix=s/{"body":{"records":.?\[//g&lt;BR /&gt;SEDCMD-remove_suffix=s/\]}.*}//g&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Apr 2021 06:25:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/extract-multiple-values-from-fields-in-same-event/m-p/549751#M156009</guid>
      <dc:creator>kannu</dc:creator>
      <dc:date>2021-04-29T06:25:55Z</dc:date>
    </item>
  </channel>
</rss>

