<?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: Splunk Search regex in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-regex/m-p/516106#M144971</link>
    <description>&lt;P&gt;The events look like very much structured and values are delimited with pipe symbol.&lt;/P&gt;&lt;P&gt;you can use IFX(Interactive Field Extraction) to extract them very nicely.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/Knowledge/ExtractfieldsinteractivelywithIFX" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.5/Knowledge/ExtractfieldsinteractivelywithIFX&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Aug 2020 18:06:20 GMT</pubDate>
    <dc:creator>thambisetty</dc:creator>
    <dc:date>2020-08-25T18:06:20Z</dc:date>
    <item>
      <title>Splunk Search regex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-regex/m-p/516082#M144954</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first post!!!&lt;/P&gt;&lt;P&gt;I have a bunch of results that show up when searched. One of the example is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;Aug 5 19:08:12 ServerName Aug 5, 2020 19:08:12 GMT|50000|APP|UNKNOWN|XXX.XXX.XXX.XXX|XXX.XXX.XXX.XXX|XXX.XXX.XXX.XXX|443|XXXXX|-|/&lt;STRONG&gt;someprocess.php&lt;/STRONG&gt;|-|A message posted successfully|500&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;Aug 5 19:08:10 ServerName Aug 5, 2020 19:08:10 GMT|50000|APP|UNKNOWN|XXX.XXX.XXX.XXX|XXX.XXX.XXX.XXX|XXX.XXX.XXX.XXX|443|XXXXX|-|/&lt;STRONG&gt;newprocess.php&lt;/STRONG&gt;|-|A message posted successfully|200 &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;I want to do a stats count by the .php processes. So, how do i add these or eval/stats these .php processes / scripts ?&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 16:52:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-regex/m-p/516082#M144954</guid>
      <dc:creator>avsplunkuser007</dc:creator>
      <dc:date>2020-08-25T16:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search regex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-regex/m-p/516092#M144958</link>
      <description>&lt;P&gt;It looks like the script name is the 11th field assuming "|" is the delimiter so something like this might work&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;... base search ...
| eval logmessage=_raw
| makemv delim="|" logmessage
| eval script=mvindex(logmessage,10)
| stats count by script&lt;/LI-CODE&gt;&lt;P&gt;Indexes start at zero so index 10 for the 11th field&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 17:40:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-regex/m-p/516092#M144958</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-08-25T17:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search regex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-regex/m-p/516098#M144964</link>
      <description>&lt;P&gt;Welcome!&lt;/P&gt;&lt;P&gt;To do stats on the field you first need to extract it.&amp;nbsp; The &lt;FONT face="courier new,courier"&gt;rex&lt;/FONT&gt; command does that.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=foo
| rex "\/(?&amp;lt;file&amp;gt;\w+\.\w+)"
| stats count by file&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 17:47:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-regex/m-p/516098#M144964</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-08-25T17:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search regex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-regex/m-p/516106#M144971</link>
      <description>&lt;P&gt;The events look like very much structured and values are delimited with pipe symbol.&lt;/P&gt;&lt;P&gt;you can use IFX(Interactive Field Extraction) to extract them very nicely.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/Knowledge/ExtractfieldsinteractivelywithIFX" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.5/Knowledge/ExtractfieldsinteractivelywithIFX&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 18:06:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-regex/m-p/516106#M144971</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-08-25T18:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search regex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-regex/m-p/516156#M145023</link>
      <description>&lt;P&gt;And adding more Splunk features here, you could do this with props.conf and transforms.conf on search heads on search time ,-)&lt;/P&gt;&lt;P&gt;All these suggestions&amp;nbsp; will work, it's your chose to select which own is best for your current needs.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 21:46:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-regex/m-p/516156#M145023</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-08-25T21:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search regex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-regex/m-p/516163#M145026</link>
      <description>&lt;P&gt;Welcome to Splunk Answers! avesplunkuser007 We have some awesome contributors who help out users actively. Feel free to message me if you have any questions or concerns.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 00:03:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-regex/m-p/516163#M145026</guid>
      <dc:creator>Anam</dc:creator>
      <dc:date>2020-08-26T00:03:13Z</dc:date>
    </item>
  </channel>
</rss>

