<?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: Is there a way to filter by source in a post process search? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-filter-by-source-in-a-post-process-search/m-p/618101#M50751</link>
    <description>&lt;P&gt;This worked. Thanks mate. Didn't know source was treated that way.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Oct 2022 05:12:01 GMT</pubDate>
    <dc:creator>Sundried</dc:creator>
    <dc:date>2022-10-24T05:12:01Z</dc:date>
    <item>
      <title>Is there a way to filter by source in a post process search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-filter-by-source-in-a-post-process-search/m-p/617929#M50733</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a base search and post process searches on a dashboard that need to be split by source, but it doesn't appear like splitting by source works. The only thing shared is the index, and some fields but depending on the source I need to evaluate the fields differently. For instance:&lt;/P&gt;&lt;P&gt;Base search:&lt;BR /&gt;index=test_logs | fields A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two post process searches:&lt;/P&gt;&lt;P&gt;| search source=sourceA&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;(evaluate field A certain way because it's from source A)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;| search source=sourceB&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;(evaluate field A a different way as it's from source B)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that when I do this nothing will load. I've found the only way to get this to work is to put the source in the base search but then I wouldn't be able to do my evaluations properly.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 02:34:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-filter-by-source-in-a-post-process-search/m-p/617929#M50733</guid>
      <dc:creator>Sundried</dc:creator>
      <dc:date>2022-10-21T02:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to filter by source in a post process search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-filter-by-source-in-a-post-process-search/m-p/617930#M50734</link>
      <description>&lt;P&gt;If you have a base search with&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| fields A&lt;/LI-CODE&gt;&lt;P&gt;then you will only have one field 'A' - you will not have a field called source.&lt;/P&gt;&lt;P&gt;The best use of base searches is to aggregate rather than just pass raw events - although that's possible.&lt;/P&gt;&lt;P&gt;Can you give more detail on what your two post process searches want to do with a little more detail.&lt;/P&gt;&lt;P&gt;What do you mean 'can't do your evaluation properly'?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 03:01:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-filter-by-source-in-a-post-process-search/m-p/617930#M50734</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2022-10-21T03:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to filter by source in a post process search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-filter-by-source-in-a-post-process-search/m-p/617933#M50736</link>
      <description>&lt;P&gt;So field A is a common field, which are names of files. The way they have been onboarded is that they are separated by a source name, so source A field A will be a set of files that are evaluated under one panel. Then source B field A are a set of files too, but to be evaluated under another panel with different parameters/output.&lt;/P&gt;&lt;P&gt;I've tried to put the sources in the base search and then calling the sources again in their respective panels but nothing loads too.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 03:31:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-filter-by-source-in-a-post-process-search/m-p/617933#M50736</guid>
      <dc:creator>Sundried</dc:creator>
      <dc:date>2022-10-21T03:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to filter by source in a post process search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-filter-by-source-in-a-post-process-search/m-p/617934#M50737</link>
      <description>&lt;P&gt;Can you post your SPL of the base + the panel searches&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 04:46:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-filter-by-source-in-a-post-process-search/m-p/617934#M50737</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2022-10-21T04:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to filter by source in a post process search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-filter-by-source-in-a-post-process-search/m-p/618045#M50745</link>
      <description>&lt;P&gt;Base:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=logs source=A OR source=sourceB | fields fileName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Panel 1:&lt;/P&gt;&lt;P&gt;search source=sourceA&lt;/P&gt;&lt;P&gt;| table fileName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Panel 2:&lt;/P&gt;&lt;P&gt;search source=sourceB&lt;/P&gt;&lt;P&gt;| table fileName&lt;/P&gt;</description>
      <pubDate>Sat, 22 Oct 2022 05:47:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-filter-by-source-in-a-post-process-search/m-p/618045#M50745</guid>
      <dc:creator>Sundried</dc:creator>
      <dc:date>2022-10-22T05:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to filter by source in a post process search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-filter-by-source-in-a-post-process-search/m-p/618087#M50750</link>
      <description>&lt;P&gt;Just add 'source' to your fields statement in the base search.&lt;/P&gt;&lt;P&gt;There's no reason why that shouldn't work for your panel searches. What is your result?&lt;/P&gt;&lt;P&gt;If you get no results, open the search up in a new window from the panel magnifying glass and see what the search gives you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Oct 2022 22:28:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-filter-by-source-in-a-post-process-search/m-p/618087#M50750</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2022-10-23T22:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to filter by source in a post process search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-filter-by-source-in-a-post-process-search/m-p/618101#M50751</link>
      <description>&lt;P&gt;This worked. Thanks mate. Didn't know source was treated that way.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 05:12:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-filter-by-source-in-a-post-process-search/m-p/618101#M50751</guid>
      <dc:creator>Sundried</dc:creator>
      <dc:date>2022-10-24T05:12:01Z</dc:date>
    </item>
  </channel>
</rss>

