Re: Changing Kibana-int based on context

2014-06-24 Thread mysterydark
That indeed is the reply I got from most of the sources but somehow I have 
not been asked to adopt that method. What I am trying to do now is to 
change the config.js file. I have written a function that receives query 
parameters from the url but I have to assign it to kibana-index so that it 
creates a new index by that name and does not use the default kibana-int. I 
have no idea how to access kibana-index in javascript. Its defined in a 
function Settings . This is my function below.

 var proj_type = getProjectType("prjtype");

function getProjectType(type)
{
  var query = window.location.search.substring(1);
  var variables = query.split("&");
  for (var i = 0; i
> I am a newbie to Computer science in general and at present I am working 
> on a project which involves Elasticsearch, logstash, and Kibana and we are 
> using this to build up a centralized Logging system. In kibana config.js , 
> there is a parameter kibana_index whose default value is set to 
> "Kibana-int". Is there a way possible to change the value of Kibana-index 
> based on the context? What I could understand from my research is that 
> "kibana-int" is the index which stores all the dashboards. When I say 
> context, what I mean is if I have multiple projects in an organization, the 
> dropdown on kibana dashboard page should show the dashboards only under a 
> particular project when I give that project's name as the context in my 
> url. So people working in a project get to see only the ones in their 
> project. The only way I could find is to change the kibana-index value 
> based on the project say something like "kibana-projA". So it shows all the 
> dashboards under this particular index. But I couldnt find a way as to how 
> to do it. Could you please help me out.
>
> Any help would be appreciated.
>
> Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/eeb9819a-c7b2-4f6f-bd2b-e8dc338f2371%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Changing Kibana-int based on context

2014-06-13 Thread Mark Walkom
I don't think you can do this dynamically within kibana. The better way
would be to run multiple instances of KB and then use a proxy to handle the
redirects.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com
web: www.campaignmonitor.com


On 14 June 2014 00:43, mysterydark  wrote:

>  I am a newbie to Computer science in general and at present I am working
> on a project which involves Elasticsearch, logstash, and Kibana and we are
> using this to build up a centralized Logging system. In kibana config.js ,
> there is a parameter kibana_index whose default value is set to
> "Kibana-int". Is there a way possible to change the value of Kibana-index
> based on the context? What I could understand from my research is that
> "kibana-int" is the index which stores all the dashboards. When I say
> context, what I mean is if I have multiple projects in an organization, the
> dropdown on kibana dashboard page should show the dashboards only under a
> particular project when I give that project's name as the context in my
> url. So people working in a project get to see only the ones in their
> project. The only way I could find is to change the kibana-index value
> based on the project say something like "kibana-projA". So it shows all the
> dashboards under this particular index. But I couldnt find a way as to how
> to do it. Could you please help me out.
>
> Any help would be appreciated.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elasticsearch+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/f8ff596f-7813-48b6-9fab-65d075aaebcd%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEM624ZKf0ZHiJdnySNdjYPqgPb3qJ3Y%3D0W%2BgmCTVucmKveamw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Changing Kibana-int based on context

2014-06-13 Thread mysterydark


I am a newbie to Computer science in general and at present I am working on 
a project which involves Elasticsearch, logstash, and Kibana and we are 
using this to build up a centralized Logging system. In kibana config.js , 
there is a parameter kibana_index whose default value is set to 
"Kibana-int". Is there a way possible to change the value of Kibana-index 
based on the context? What I could understand from my research is that 
"kibana-int" is the index which stores all the dashboards. When I say 
context, what I mean is if I have multiple projects in an organization, the 
dropdown on kibana dashboard page should show the dashboards only under a 
particular project when I give that project's name as the context in my 
url. So people working in a project get to see only the ones in their 
project. The only way I could find is to change the kibana-index value 
based on the project say something like "kibana-projA". So it shows all the 
dashboards under this particular index. But I couldnt find a way as to how 
to do it. Could you please help me out.

Any help would be appreciated.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/f8ff596f-7813-48b6-9fab-65d075aaebcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.