Saved Searches in a dashboard

Hi All

I can find the Load (and Save) buttons for saved searches in the Search dashboard of Graylog.
But not in a dashboard that I created myself. In the later i can find only buttons:
Save - saves the dashboard
Save as - saves as dashboard as another

In the image:
top - the Graylog Search dashboard, enabling saved searches save and load
bottom - my dashboard, no saved searches actions

Can I use Saved Searches in a user-made dashboard?

I have Graylog 3.3.2, Open edition.

best regards
Altin

Hello,

I’ll be honest, I’m kind of confused.

I see the saved search action Buttons in the picture.

image

What I see is the Save button will save the current configuration made to the current Dashboard.
The second Button I see is the Save As to create a new name for the dashboard your currently in.

EDIT: Sorry I missed this question.

Yes, and for example lets say you were searching for Windows EventID’s in 5 minutes this would be how you do that as shown below.

Now I want to save my search.

image

Here is my saved search.

Now I want to add it to any dashboard. Click Copy to Dashboard.

Next window opens and choose which dashboard you want.

EDIT2: Sorry @altink I also noticed you using GL version 3.3. maybe this video will help. It been a while since I used Graylog 3.3.

This is how my (user-made) Dashboard looks like - image. As you can see there are no Save/Load buttons for saved searches. There are only Save and Save As buttons for the dashboard itself.

The only place where I can find Save/Load buttons for saved searches is the Graylog Search dashboard. The one you open from the Search link on the Main Menu.

But not in any dashboard I create myself for my Content Pack.

Hello,

I think I’m understanding the questioned now.
Your looking for Saved Searches on your dashboard, If that’s correct then yes you would have to navigate to your global search in the upper left of the screen and load it from there.

If your executing a search within a Dashboard that will affect all your widgets on that dashboard.

What I do is load a Saved Search and choose the widget I prefer, then send it to the dashboard of my choosing. If this is incorrect my apologies.

Hope this helps

1 Like

I am not looking to set anything in the Search string of aggregates in my Dashboard.
I am looking to have a Load/Save of the main search in my (!) dashboard.
Is that possible?

The goal is: User searches the dashboard as (ex.):
for DB Access actions: ACTION_NAME:LOGON OR ACTION_NAME:LOGOFF
for DB Access errors: ACTION_NAME:LOGON AND RETURN_CODE!=0
for Data Change: ACTION_NAME:INSERT OR ACTION_NAME:DELETE OR ACTION_NAME:UPDATE

and many stuff like that - namely: viewing logs by different categorization based on DB functionality.

The user must be able (as in Graylog Search dashboard) to Save and Load this searches. Because if not, he would have to write it every time from the scratch, and this would seriously undermine the practical usage of the dashboard

best regards
Altin

I agree, that was an example.

What I showed was not a aggregates it was a search in my dashboard showing you that it will effect all widgets within that dashboard sorry if I didn’t make that clear.

When your done with those searches. Click the save Button On the Dashboard.

Also note:

Loading a dashboard you need to go to Dashboard tab.

Unless you want to Copy the current dashboard with a different name Click " Save AS".

Load button is only in Saved Searches. If you require a search within a dashboard that is created already then click the SAVE button. I apologies if I’m not understanding you correct. It confusing when you stated you want to save a search in your dashboard and I can clearly see the SAVE button and no you cant load another dashboard/Saved Search when your within a dashboard you need to either click the Dashboard tab or go to the Search tab and click load.

Hope that helps

EDIT: When you do Click Save button on the dashboard be carful it will over write it and your current configurations maybe be over written.

Just an FYI when i state Widgets those are my saved searches I created so I can move them to different dashboards.

Load button is only in Saved Searches”
so saved searches are NOT available in user-made dashboards?
I mean in the main search - not talking of each widget.

Yes that is correct.

Just to make sure I’m understand you correct.

  • User makes a dashboard
  • User searches the following DB Access actions: ACTION_NAME:LOGON OR ACTION_NAME:LOGOFF
  • User want to save that search, user clicks the save button.
  • Done

Second way would be.

  • User goes to Search tab then the User searches the following DB Access actions: ACTION_NAME:LOGON OR ACTION_NAME:LOGOFF
  • User Click the Save button there for the user created a saved search.
  • From that saved search the user can migrate that save search to any dashboard that user wants to.

Correct me if I’m wrong but I think I’m understanding?

EDIT: after reading over this, Ill be honest it would be nice to Load a save search from the dashboard.
Perhaps posting a feature request

@gsmith:
Just to make sure I’m understand you correct.

User makes a dashboard
User searches the following DB Access actions: ACTION_NAME:LOGON OR ACTION_NAME:LOGOFF
User want to save that search, user clicks the save button.
Done

Altin:
Third point should be corrected as:
User want to save the dashboard with the last search, user clicks the save button.

@gsmith:
Second way would be.

User goes to Search tab then the User searches the following DB Access actions: ACTION_NAME:LOGON OR ACTION_NAME:LOGOFF
User Click the Save button there for the user created a saved search.
From that saved search the user can migrate that save search to any dashboard that user wants to.

Altin:
In the third point I do not see any point of saving it (the saved search) as a dashboard. This because in the Graylog Search (menu tab) dashboard the Load/Save includes not only the search time, string and stream, but also all widgets. Thus one can work faster with loading saved searches in the Graylog Search (multiple tabs can be opened also) compared to with multiple user-made dashboards.
I must underline intend to keep the same search for all widgets of a dashboard - which as per docs is the main dashboards feature.
At this point I intend to ask a new question, kind of: “content packs - better use saved-searches or dedicated dashboards”

@gsmith:
Correct me if I’m wrong but I think I’m understanding?

EDIT: after reading over this, Ill be honest it would be nice to Load a save search from the dashboard.
Perhaps posting a feature request

Altin:
I think yes - dashboards must enable load/save of saved searches, at top level, and not only in widgets

Hard question perhaps two scenarios.

100 users collaborate on one dashboard. This dashboard holds different save search’s (in the form of widgets) from each of the 100 users personal collection of Save Search’s. I would use save-searchs in my content pack. For the simple fact I wouldn’t want to loss there personal data. Not only that you can always collaborate on a new dashboard

100 users has 100 individual dashboards and no Save Search’s then I would use dedicated dashboards in my Content pack. Since users are only creating dashboards which is a form of a save search.

EDIT: Just to be clear, A dashboard are a collection of search’s in one spot for better clarity without loading different Saved Search’s.
lets say I want to know if a user fails logon a Linux machine, remote connect was made on a device and a Windows Directory operation was performed. All these have there own stream, there own index and search criteria. This is what that dashboard would look like.

Each of the Widgets you see on that dashboard come from a Global search that was saved then migrated to a collaborated Dashboard ( multiply users added or subtract searches). As shown below is an example of one of those widgets ( i.e. saved search’s). You will noticed there is a specific stream connected to this widget, on this dashboard.

Hope that helps

In short:
There are no saved searches loaded/saved in user made dashboards for the main search (not the wigets). This feature is available only on Graylog Search dashboard (the one opened by the Search link on main menu).

Is this correct?

Hello,

Dashboards have SAVE button if you searching within it.

Global Searches has Save/Load Buttons.

Thank You for the reply @gsmith

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.