<?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 limit number of instance to 1 in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-limit-number-of-instance-to-1/m-p/657564#M54171</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225066"&gt;@aditsss&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2023 09:08:55 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2023-09-14T09:08:55Z</dc:date>
    <item>
      <title>How to limit number of instance to 1</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-limit-number-of-instance-to-1/m-p/656296#M54063</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have below row logs:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2023-08-30&lt;/SPAN&gt; &lt;SPAN class=""&gt;07:43:28.671&lt;/SPAN&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;SPAN class=""&gt;INFO&lt;/SPAN&gt;&lt;SPAN&gt; ] [&lt;/SPAN&gt;&lt;SPAN class=""&gt;Thread-18&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;ReadFileImpl&lt;/SPAN&gt; &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;ebnc&lt;/SPAN&gt; &lt;SPAN class=""&gt;event&lt;/SPAN&gt; &lt;SPAN class=""&gt;balanced&lt;/SPAN&gt; &lt;SPAN class=""&gt;successfully&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;My current query:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;index="abc" sourcetype =600000304_gg_abs_ipc2 source="/amex/app/gfp-settlement-raw/logs/gfp-settlement-raw.log" "ReadFileImpl - ebnc event balanced successfully"&lt;BR /&gt;| eval True=if(searchmatch("ebnc event balanced successfully"),"✔","")&lt;BR /&gt;| eval EBNCMessage="ebnc event balanced successfully"&lt;BR /&gt;| table EBNCMessage True&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;This occurs as many time as file got processed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I want to show only 1 event&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;ebnc&lt;/SPAN&gt; &lt;SPAN class=""&gt;event&lt;/SPAN&gt; &lt;SPAN class=""&gt;balanced&lt;/SPAN&gt; &lt;SPAN class=""&gt;successfully&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;true&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;But its coming 8 times as 8 files go&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 16:01:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-limit-number-of-instance-to-1/m-p/656296#M54063</guid>
      <dc:creator>aditsss</dc:creator>
      <dc:date>2023-08-31T16:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit number of instance to 1</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-limit-number-of-instance-to-1/m-p/656300#M54064</link>
      <description>&lt;P&gt;There are few ways to limit the number of results.&amp;nbsp; The head, dedup, and stats commands can be used.&amp;nbsp; Which to use depends on the inputs and the desired results.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="abc" sourcetype =600000304_gg_abs_ipc2 source="/amex/app/gfp-settlement-raw/logs/gfp-settlement-raw.log" "ReadFileImpl - ebnc event balanced successfully"
| head 1
| eval True=if(searchmatch("ebnc event balanced successfully"),"✔","")
| eval EBNCMessage="ebnc event balanced successfully"
| table EBNCMessage True&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;index="abc" sourcetype =600000304_gg_abs_ipc2 source="/amex/app/gfp-settlement-raw/logs/gfp-settlement-raw.log" "ReadFileImpl - ebnc event balanced successfully"
| eval True=if(searchmatch("ebnc event balanced successfully"),"✔","")
| eval EBNCMessage="ebnc event balanced successfully"
| dedup EBNCMessage
| table EBNCMessage True&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;index="abc" sourcetype =600000304_gg_abs_ipc2 source="/amex/app/gfp-settlement-raw/logs/gfp-settlement-raw.log" "ReadFileImpl - ebnc event balanced successfully"
| eval True=if(searchmatch("ebnc event balanced successfully"),"✔","")
| eval EBNCMessage="ebnc event balanced successfully"
| stats values(*) as * by EBNCMessage
| table EBNCMessage True&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 17:34:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-limit-number-of-instance-to-1/m-p/656300#M54064</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-08-31T17:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit number of instance to 1</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-limit-number-of-instance-to-1/m-p/656338#M54067</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225066"&gt;@aditsss&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;dedup your results:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="abc" sourcetype =600000304_gg_abs_ipc2 source="/amex/app/gfp-settlement-raw/logs/gfp-settlement-raw.log" "ReadFileImpl - ebnc event balanced successfully"
| eval True=if(searchmatch("ebnc event balanced successfully"),"✔","")
| eval EBNCMessage="ebnc event balanced successfully"
| dedup EBNCMessage 
| table EBNCMessage True&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 21:31:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-limit-number-of-instance-to-1/m-p/656338#M54067</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-08-31T21:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit number of instance to 1</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-limit-number-of-instance-to-1/m-p/657564#M54171</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225066"&gt;@aditsss&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 09:08:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-limit-number-of-instance-to-1/m-p/657564#M54171</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-09-14T09:08:55Z</dc:date>
    </item>
  </channel>
</rss>

