<?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: Timechart does not work correctly with another user in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Timechart-does-not-work-correctly-with-another-user/m-p/470173#M132301</link>
    <description>&lt;P&gt;Usually, this is a permissions problem.  Verify all of the objects you created for this search are shared (not "Private") as even Admins cannot use private objects.&lt;/P&gt;

&lt;P&gt;BTW, for better performance, replace &lt;CODE&gt;table&lt;/CODE&gt; with &lt;CODE&gt;fields&lt;/CODE&gt; in your search.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Dec 2019 21:03:01 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2019-12-27T21:03:01Z</dc:date>
    <item>
      <title>Timechart does not work correctly with another user</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-does-not-work-correctly-with-another-user/m-p/470172#M132300</link>
      <description>&lt;P&gt;I created several objects with my local splunk user and everything is working as expected.&lt;BR /&gt;
I need to share all items with other users, however when using timechart the data does not match!&lt;/P&gt;

&lt;P&gt;Summarizing the search with my login timechart works normal and the search with the other logins timechart of this search does not work, even the other users try admin permission.&lt;BR /&gt;
I would like to know if there is any place to check where the problem is occurring, since I already check in jobs inspect and saw no difference.&lt;/P&gt;

&lt;P&gt;One note that both searches return the same event number 5016.&lt;/P&gt;

&lt;P&gt;Example of the difference between searches.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=csv sourcetype=csv source="/opt/splunk/var/run/splunk/csv/cracha/file-*.csv" DtaDemissao=NULL NomFilial="Filial São Paulo 2 - 0004-07"
| rename IdtUsuario as Account_Login
| join type=left Account_Login [ search index=main | `pesquisaloginsads` NOT `IPsTelefonia` | table Account_Login Client_Address ]
| rename Account_Login as Login NomProfissional as Nome NumMatrProfissional as Matricula NomAlocacao as Alocacao NomFilial as Filial NomProfissionalGESTOR as Gestor QtdBatidaCracha as Batidas 
| table _time Login Nome Matricula Alocacao Filial NomLocalTrabalho Gestor Batidas Client_Address DtaBatidaCracha
| where isnotnull(Client_Address) AND NOT like (Client_Address, "::1") OR NOT like (Batidas, "0")
| timechart count by Filial span=1d
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8117iA4B5D96178491330/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8118i6FE57715AC48DBE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 20:37:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-does-not-work-correctly-with-another-user/m-p/470172#M132300</guid>
      <dc:creator>sergeimartao</dc:creator>
      <dc:date>2019-12-27T20:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart does not work correctly with another user</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-does-not-work-correctly-with-another-user/m-p/470173#M132301</link>
      <description>&lt;P&gt;Usually, this is a permissions problem.  Verify all of the objects you created for this search are shared (not "Private") as even Admins cannot use private objects.&lt;/P&gt;

&lt;P&gt;BTW, for better performance, replace &lt;CODE&gt;table&lt;/CODE&gt; with &lt;CODE&gt;fields&lt;/CODE&gt; in your search.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 21:03:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-does-not-work-correctly-with-another-user/m-p/470173#M132301</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-12-27T21:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart does not work correctly with another user</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-does-not-work-correctly-with-another-user/m-p/470174#M132302</link>
      <description>&lt;P&gt;I agree with you regarding permissions, but make sure the objects are all allowed globally.&lt;BR /&gt;
I even tested the objects separately and they all work.&lt;/P&gt;

&lt;P&gt;I can't understand why search works normally with both users, the problem is only the moment I add the last line with timechart.&lt;/P&gt;

&lt;P&gt;Can you tell if there is any other way to debug this problem?&lt;/P&gt;

&lt;P&gt;Thanks for the remark about the fields, had forgotten that feature.&lt;/P&gt;

&lt;P&gt;tks!&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://i.imgur.com/XsBuTvL.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 16:37:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-does-not-work-correctly-with-another-user/m-p/470174#M132302</guid>
      <dc:creator>sergeimartao</dc:creator>
      <dc:date>2019-12-30T16:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart does not work correctly with another user</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-does-not-work-correctly-with-another-user/m-p/470175#M132303</link>
      <description>&lt;P&gt;Well, the report is back in business.&lt;/P&gt;

&lt;P&gt;The only thing I did was redo the account_login field extraction.&lt;/P&gt;

&lt;P&gt;But honestly this is still strange to me because I had tested this extraction and it was working normally.&lt;/P&gt;

&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 20:42:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-does-not-work-correctly-with-another-user/m-p/470175#M132303</guid>
      <dc:creator>sergeimartao</dc:creator>
      <dc:date>2019-12-30T20:42:55Z</dc:date>
    </item>
  </channel>
</rss>

