<?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 use regex to view data? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598155#M12581</link>
    <description>&lt;P&gt;I think its a bug in Splunk as when i downgraded to 8.1 it works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertlynch2020_0-1652809871109.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19680iFFF7A06F364CE0A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertlynch2020_0-1652809871109.png" alt="robertlynch2020_0-1652809871109.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2022 17:51:19 GMT</pubDate>
    <dc:creator>robertlynch2020</dc:creator>
    <dc:date>2022-05-17T17:51:19Z</dc:date>
    <item>
      <title>How to use regex to view data?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598131#M12575</link>
      <description>&lt;P&gt;HI&lt;/P&gt;
&lt;P&gt;I have data that i can't access unless I use regex&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertlynch2020_0-1652802633467.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19675iD30F09D306FA639F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertlynch2020_0-1652802633467.png" alt="robertlynch2020_0-1652802633467.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but when I run the command that Splunk gives me I get the empty return.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertlynch2020_1-1652802675556.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19676i4872FF466CE4FB65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertlynch2020_1-1652802675556.png" alt="robertlynch2020_1-1652802675556.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I can use this SPL, but the performance is not good. How do I get the attribute to work for this, so I can get the performance gains.&lt;/P&gt;
&lt;P&gt;Is it the only way I can see the data? what can i do as&amp;nbsp; the performance is very bad.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertlynch2020_2-1652802774594.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19677i4FF13ECCCC106DD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertlynch2020_2-1652802774594.png" alt="robertlynch2020_2-1652802774594.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 16:05:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598131#M12575</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2022-05-17T16:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to use regex to view data?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598134#M12576</link>
      <description>&lt;P&gt;How is the field "log.type" extracted (is in raw data OR calculated OR lookup etc)? Does this work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="murex_logs" log.type=http&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 16:11:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598134#M12576</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-05-17T16:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to use regex to view data?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598138#M12578</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the raw data. Its coming in via HEC.&lt;/P&gt;&lt;P&gt;log.type=http does not work.&lt;/P&gt;&lt;P&gt;However the strange this is one one environment 8.1&lt;/P&gt;&lt;P&gt;log.type="http" does work and 8.2.5&amp;nbsp; doesn't. However regex always works. So I looking for a way that is reliable. Its very strange.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 16:28:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598138#M12578</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2022-05-17T16:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use regex to view data?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598139#M12579</link>
      <description>&lt;P&gt;Have you tried single quotes instead of doubles?&amp;nbsp; Single quotes tell Splunk to treat the quoted string as a field name.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="murex_logs" 'log.type'=http&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 17 May 2022 16:36:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598139#M12579</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-17T16:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to use regex to view data?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598153#M12580</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;This did not work in 8.2.5 - thanks for you help&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 17:38:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598153#M12580</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2022-05-17T17:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to use regex to view data?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598155#M12581</link>
      <description>&lt;P&gt;I think its a bug in Splunk as when i downgraded to 8.1 it works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertlynch2020_0-1652809871109.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19680iFFF7A06F364CE0A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertlynch2020_0-1652809871109.png" alt="robertlynch2020_0-1652809871109.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 17:51:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598155#M12581</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2022-05-17T17:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to use regex to view data?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598158#M12582</link>
      <description>&lt;P&gt;OK.&amp;nbsp; That was a long-shot.&amp;nbsp; Here are a couple other ideas.&lt;/P&gt;&lt;P&gt;Filter using where instead of in the base query.&amp;nbsp; &amp;nbsp;Yes, this is less efficient, but it might work.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="murex_logs"
| where 'log.type'="http"&lt;/LI-CODE&gt;&lt;P&gt;Rename the field.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="murex_logs" 
| rename log.type as log_type
| where log_type="http"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 17 May 2022 17:53:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598158#M12582</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-17T17:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use regex to view data?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598159#M12583</link>
      <description>&lt;P&gt;Are you sure you're not doing something fancy with the fields? The warning suggests you're extracting a huge number of fields. That might be affecting the processing of your search.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 17:58:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598159#M12583</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-05-17T17:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to use regex to view data?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598280#M12592</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;So this will only work if I put a table command into it, but i think the table command will slow it down.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertlynch2020_0-1652863746075.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19694iAC583D50002FD9E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertlynch2020_0-1652863746075.png" alt="robertlynch2020_0-1652863746075.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see this does not work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertlynch2020_1-1652866670228.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19695iB0DC03757FD04BBC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertlynch2020_1-1652866670228.png" alt="robertlynch2020_1-1652866670228.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you think it's a bug in Splunk or because i am getting in HEC OT data?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertlynch2020_2-1652866727794.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19696iE24A73221C9E495F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertlynch2020_2-1652866727794.png" alt="robertlynch2020_2-1652866727794.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>Wed, 18 May 2022 09:39:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598280#M12592</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2022-05-18T09:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use regex to view data?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598302#M12593</link>
      <description>&lt;P&gt;Also to add adding the table command slowed the search down big time from 137 seconds to 61 seconds.&lt;/P&gt;&lt;P&gt;So i can't use the table command to fix this&lt;/P&gt;&lt;P&gt;The first screenshot is from 8.2.5&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertlynch2020_0-1652876561910.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19700iFC56B4C7578EB708/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertlynch2020_0-1652876561910.png" alt="robertlynch2020_0-1652876561910.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The second screenshot is from 8.1&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertlynch2020_1-1652877256851.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19701iC4F6AD3B15E022FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertlynch2020_1-1652877256851.png" alt="robertlynch2020_1-1652877256851.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;do you think i should make a bug to Spunk or do you have a few more ideas, also thanks again for all the efforts &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 12:36:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598302#M12593</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2022-05-18T12:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use regex to view data?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598304#M12594</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;THis error was not happeing in 8.2.5 only in 8.1.&lt;/P&gt;&lt;P&gt;I needed to add the prop in limits.conf to get rid of it.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[kv]
# Maximum number of key-value pairs that can be extracted at index time.
# Set this value to 0 to not impose any limit on indexed kv limit.
indexed_kv_limit = 0&lt;/LI-CODE&gt;&lt;P&gt;I don't know why i was getting it as i don't see over 100 fields in the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertlynch2020_0-1652877529123.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19702i21393B52F040AE79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertlynch2020_0-1652877529123.png" alt="robertlynch2020_0-1652877529123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 12:39:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-use-regex-to-view-data/m-p/598304#M12594</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2022-05-18T12:39:01Z</dc:date>
    </item>
  </channel>
</rss>

