<?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 Why does search only return partial columns? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-only-return-partial-columns/m-p/598952#M208533</link>
    <description>&lt;P class="lia-align-justify"&gt;Hello folks,&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Been busting my head here.. trying to pull data from multiple sourcetypes which I thought would run like:&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Index=test sourcetype=A OR sourcetype=B | search host=* |&amp;nbsp;where &amp;lt;appname&amp;gt; ="value" AND&amp;nbsp;&lt;BR /&gt;| table Host, IPAddress, Appname&lt;/P&gt;
&lt;P class="lia-align-left"&gt;host is a field in both sourcetypes and IP related info is in B. Just trying to pull out host, it's IP address, and the app in question. What I get is a real long host list (so that's good) with a few IP's and a few apps..&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-left"&gt;Looking abit like this:&lt;/P&gt;
&lt;P class="lia-align-left"&gt;Host | IPAddress |Appname&lt;/P&gt;
&lt;P class="lia-align-left"&gt;host1 | IP&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;BR /&gt;host2 | ip&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;BR /&gt;host3 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| appname&lt;BR /&gt;host4|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | appname&lt;/P&gt;
&lt;P class="lia-align-left"&gt;so on and so forth&lt;/P&gt;
&lt;P class="lia-align-left"&gt;seems like any place that shows an ip address refuses to show an appname and vice versa??&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-left"&gt;Still acts the same. I pulled each part separately so I know the data is good.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 May 2022 17:47:52 GMT</pubDate>
    <dc:creator>JohnF</dc:creator>
    <dc:date>2022-05-23T17:47:52Z</dc:date>
    <item>
      <title>Why does search only return partial columns?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-only-return-partial-columns/m-p/598952#M208533</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello folks,&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Been busting my head here.. trying to pull data from multiple sourcetypes which I thought would run like:&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Index=test sourcetype=A OR sourcetype=B | search host=* |&amp;nbsp;where &amp;lt;appname&amp;gt; ="value" AND&amp;nbsp;&lt;BR /&gt;| table Host, IPAddress, Appname&lt;/P&gt;
&lt;P class="lia-align-left"&gt;host is a field in both sourcetypes and IP related info is in B. Just trying to pull out host, it's IP address, and the app in question. What I get is a real long host list (so that's good) with a few IP's and a few apps..&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-left"&gt;Looking abit like this:&lt;/P&gt;
&lt;P class="lia-align-left"&gt;Host | IPAddress |Appname&lt;/P&gt;
&lt;P class="lia-align-left"&gt;host1 | IP&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;BR /&gt;host2 | ip&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;BR /&gt;host3 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| appname&lt;BR /&gt;host4|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | appname&lt;/P&gt;
&lt;P class="lia-align-left"&gt;so on and so forth&lt;/P&gt;
&lt;P class="lia-align-left"&gt;seems like any place that shows an ip address refuses to show an appname and vice versa??&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-left"&gt;Still acts the same. I pulled each part separately so I know the data is good.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 17:47:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-only-return-partial-columns/m-p/598952#M208533</guid>
      <dc:creator>JohnF</dc:creator>
      <dc:date>2022-05-23T17:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why does search only return partial columns?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-only-return-partial-columns/m-p/598968#M208537</link>
      <description>&lt;P&gt;IP addresses and app names are in separate events and the query shown does nothing to put them together so Splunk shows them as separate events.&lt;/P&gt;&lt;P&gt;There are several ways to put the events together.&amp;nbsp; The one I like most is the &lt;FONT face="courier new,courier"&gt;stats&lt;/FONT&gt; command, not for any stats, but for the grouping feature.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=test sourcetype=A OR sourcetype=B host=* 
| where Appname ="value" 
| stats values(*) as * by host
| table host, IPAddress, Appname&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 23 May 2022 18:54:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-only-return-partial-columns/m-p/598968#M208537</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-23T18:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why does search only return partial columns?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-only-return-partial-columns/m-p/598970#M208538</link>
      <description>&lt;P&gt;One small remark - &lt;EM&gt;host&lt;/EM&gt; is one of the default fields and is (or at least should be in a properly working Splunk installation) always filled with a value. So searching for host=* seems a bit pointless.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 19:00:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-only-return-partial-columns/m-p/598970#M208538</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-05-23T19:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why does search only return partial columns?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-only-return-partial-columns/m-p/599046#M208574</link>
      <description>&lt;P&gt;let me make sure I got this correct. So in this situation I can go:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stats values(IPAddress) AS IP, values(AppName) by host&lt;/P&gt;&lt;P&gt;|table IPAddress, AppName, Host&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 11:29:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-only-return-partial-columns/m-p/599046#M208574</guid>
      <dc:creator>JohnF</dc:creator>
      <dc:date>2022-05-24T11:29:24Z</dc:date>
    </item>
  </channel>
</rss>

