<?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 How do I pull text our of a log to create a visual? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-pull-text-our-of-a-log-to-create-a-visual/m-p/526285#M148543</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This might be a super basic question but I have a log and I need to create a dashboard that represents a value found in each log for that day of a file uploaded and the count of the records&lt;/P&gt;&lt;P&gt;EXAMPLE&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;:&lt;/SPAN&gt;&amp;nbsp;1&lt;SPAN class="t"&gt;53&lt;/SPAN&gt; &lt;SPAN class="t a"&gt;&lt;SPAN class="t"&gt;cases&lt;/SPAN&gt; &lt;SPAN class="t"&gt;created&lt;/SPAN&gt; &lt;SPAN class="t"&gt;out&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="t"&gt;of&lt;/SPAN&gt; &lt;SPAN class="t"&gt;411&lt;/SPAN&gt; &lt;SPAN class="t"&gt;import&lt;/SPAN&gt; &lt;SPAN class="t"&gt;case&lt;/SPAN&gt; &lt;SPAN class="t"&gt;records&lt;/SPAN&gt; &lt;SPAN class="t"&gt;for&lt;/SPAN&gt; &lt;SPAN class="t"&gt;file: clientfile&lt;/SPAN&gt;&lt;SPAN class="t a"&gt;&lt;SPAN class="t"&gt;_20201023160218.cdreq.pgp&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t a"&gt;&lt;SPAN class="t"&gt;I need a graph that will pull the "153" out of this raw log each day.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2020 23:05:13 GMT</pubDate>
    <dc:creator>roderickjones</dc:creator>
    <dc:date>2020-10-23T23:05:13Z</dc:date>
    <item>
      <title>How do I pull text our of a log to create a visual?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-pull-text-our-of-a-log-to-create-a-visual/m-p/526285#M148543</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This might be a super basic question but I have a log and I need to create a dashboard that represents a value found in each log for that day of a file uploaded and the count of the records&lt;/P&gt;&lt;P&gt;EXAMPLE&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;:&lt;/SPAN&gt;&amp;nbsp;1&lt;SPAN class="t"&gt;53&lt;/SPAN&gt; &lt;SPAN class="t a"&gt;&lt;SPAN class="t"&gt;cases&lt;/SPAN&gt; &lt;SPAN class="t"&gt;created&lt;/SPAN&gt; &lt;SPAN class="t"&gt;out&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="t"&gt;of&lt;/SPAN&gt; &lt;SPAN class="t"&gt;411&lt;/SPAN&gt; &lt;SPAN class="t"&gt;import&lt;/SPAN&gt; &lt;SPAN class="t"&gt;case&lt;/SPAN&gt; &lt;SPAN class="t"&gt;records&lt;/SPAN&gt; &lt;SPAN class="t"&gt;for&lt;/SPAN&gt; &lt;SPAN class="t"&gt;file: clientfile&lt;/SPAN&gt;&lt;SPAN class="t a"&gt;&lt;SPAN class="t"&gt;_20201023160218.cdreq.pgp&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t a"&gt;&lt;SPAN class="t"&gt;I need a graph that will pull the "153" out of this raw log each day.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 23:05:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-pull-text-our-of-a-log-to-create-a-visual/m-p/526285#M148543</guid>
      <dc:creator>roderickjones</dc:creator>
      <dc:date>2020-10-23T23:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pull text our of a log to create a visual?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-pull-text-our-of-a-log-to-create-a-visual/m-p/526286#M148544</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228074"&gt;@roderickjones&lt;/a&gt;, can you share an event sample?&lt;/P&gt;&lt;P&gt;Something like this perhaps?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;your_base_search
| rex "\]: (?&amp;lt;caseCount&amp;gt;\d+)[\w\s]+(?&amp;lt;importCount&amp;gt;\d+)[^\:]+:\s(?&amp;lt;fileName&amp;gt;[^\s]+)"
| timechart sum(caseCount) as totalCases, sum(importCount) as totalImports span=1d&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sidenote, replace the `sum` function for `values` if you only have 1 file per day.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Oct 2020 00:20:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-pull-text-our-of-a-log-to-create-a-visual/m-p/526286#M148544</guid>
      <dc:creator>alemarzu</dc:creator>
      <dc:date>2020-10-24T00:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pull text our of a log to create a visual?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-pull-text-our-of-a-log-to-create-a-visual/m-p/526288#M148545</link>
      <description>&lt;DIV class="shared-eventsviewer-shared-rawfield"&gt;&lt;DIV class="raw-event normal  wrap "&gt;&lt;SPAN class="t"&gt;Oct&lt;/SPAN&gt; &lt;SPAN class="t"&gt;23&lt;/SPAN&gt; &lt;SPAN class="t"&gt;23:15:08&lt;/SPAN&gt; &lt;SPAN class="t"&gt;myhost&lt;/SPAN&gt; &lt;SPAN class="t"&gt;cdrn-issuer-import:&lt;/SPAN&gt; &amp;lt;&lt;SPAN class="t"&gt;14&lt;/SPAN&gt;&amp;gt;&lt;SPAN class="t"&gt;160349490844366260&lt;/SPAN&gt; &lt;SPAN class="t"&gt;cdrn-issuer-import&lt;/SPAN&gt; &lt;SPAN class="t"&gt;com.cdrn.issuer.imports.batch.CdrnVersion3ItemWriter&lt;/SPAN&gt;[&lt;SPAN class="t"&gt;bdfef334b18c4ee7a91a5b1a9f42656f&lt;/SPAN&gt;]&lt;SPAN class="t"&gt;:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;37&lt;/SPAN&gt; &lt;SPAN class="t a"&gt;&lt;SPAN class="t"&gt;cases&lt;/SPAN&gt; &lt;SPAN class="t"&gt;created&lt;/SPAN&gt; &lt;SPAN class="t"&gt;out&lt;/SPAN&gt; &lt;SPAN class="t"&gt;of&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="t"&gt;20&lt;/SPAN&gt; &lt;SPAN class="t"&gt;import&lt;/SPAN&gt; &lt;SPAN class="t"&gt;case&lt;/SPAN&gt; &lt;SPAN class="t"&gt;records&lt;/SPAN&gt; &lt;SPAN class="t"&gt;for&lt;/SPAN&gt; &lt;SPAN class="t"&gt;file:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;VICFT_2020102319_01.txt.pgp&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="raw-event normal  wrap "&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="shared-eventsviewer-list-body-row-selectedfields"&gt;&lt;UL class="condensed-selected-fields"&gt;&lt;LI&gt;&lt;SPAN class="field"&gt;host =&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;myhost&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="field"&gt;index =&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;syslog&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="field"&gt;source =&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;/var/log/syslog&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="field"&gt;sourcetype =&amp;nbsp;&lt;SPAN&gt;syslog&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Oct 2020 23:48:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-pull-text-our-of-a-log-to-create-a-visual/m-p/526288#M148545</guid>
      <dc:creator>roderickjones</dc:creator>
      <dc:date>2020-10-23T23:48:25Z</dc:date>
    </item>
  </channel>
</rss>

